[Webkit-unassigned] [Bug 126881] [GTK] Add cast in call to g_object_add_weak_pointer in MiniBrowser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 13 03:07:08 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=126881


Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #221021|review?, commit-queue?      |review-, commit-queue-
               Flag|                            |




--- Comment #2 from Carlos Garcia Campos <cgarcia at igalia.com>  2014-01-13 03:04:47 PST ---
(From update of attachment 221021)
View in context: https://bugs.webkit.org/attachment.cgi?id=221021&action=review

> Tools/MiniBrowser/gtk/BrowserWindow.c:710
> -        g_object_add_weak_pointer(G_OBJECT(parent), &window->parentWindow);
> +        g_object_add_weak_pointer(G_OBJECT(parent), (gpointer*) &window->parentWindow);

Add a space between the gpointer and the * and remove the space between the parentheses and the &

g_object_add_weak_pointer(G_OBJECT(parent), (gpointer *)&window->parentWindow);

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list