[Webkit-unassigned] [Bug 81011] [GTK] Add ContextMenu API to WebKit2 GTK+ API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 19 02:39:03 PDT 2012


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





--- Comment #7 from Carlos Garcia Campos <cgarcia at igalia.com>  2012-06-19 02:39:02 PST ---
(In reply to comment #5)
> (From update of attachment 147596 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=147596&action=review
> 

> > Source/WebKit2/UIProcess/API/gtk/tests/TestContextMenu.cpp:83
> > +        if (state & Visible)
> > +            g_assert(gtk_action_get_visible(action));
> > +        else
> > +            g_assert(!gtk_action_get_visible(action));
> > +
> 
> Perhaps this could just be g_assert(gtk_action_get_visible(action) == (state & Visible));

It gives a compile warning because it's a comparison between signed and unsigned.

-- 
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