[Webkit-unassigned] [Bug 124671] [GTK] Cannot scroll in option menu when it larger than the screen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 20 11:18:54 PST 2013


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





--- Comment #4 from Carlos Garcia Campos <cgarcia at igalia.com>  2013-11-20 11:17:28 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > (From update of attachment 217458 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=217458&action=review
> > 
> > > Source/WebCore/platform/gtk/GtkPopupMenu.cpp:95
> > > +        for (i = 0, child = children.get(); i < itemCount; i++, child = g_list_next(child)) {
> > 
> > I think that if you declare i and child here they will be scoped properly. For instance:
> > 
> > for (int i = 0, GList* child = children.get();...
> 
> Yes, that would be really great, but it doesn't work :-(

I've tried again to be sure, and this is what I got:

  CXX      Source/WebCore/platform/gtk/libPlatformGtk_la-GtkPopupMenu.lo
../../Source/WebCore/platform/gtk/GtkPopupMenu.cpp: In member function 'void WebCore::GtkPopupMenu::popUp(const WebCore::IntSize&, const WebCore::IntPoint&, int, int, const GdkEvent*)':
../../Source/WebCore/platform/gtk/GtkPopupMenu.cpp:95:30: error: expected initializer before '*' token
../../Source/WebCore/platform/gtk/GtkPopupMenu.cpp:95:30: error: expected ';' before '*' token
../../Source/WebCore/platform/gtk/GtkPopupMenu.cpp:95:32: error: 'child' was not declared in this scope
../../Source/WebCore/platform/gtk/GtkPopupMenu.cpp:95:58: warning: for increment expression has no effect [-Wunused-value]
../../Source/WebCore/platform/gtk/GtkPopupMenu.cpp:95:69: error: expected ')' before ';' token
../../Source/WebCore/platform/gtk/GtkPopupMenu.cpp:95:71: error: 'i' was not declared in this scope
../../Source/WebCore/platform/gtk/GtkPopupMenu.cpp:95:76: error: 'child' was not declared in this scope
../../Source/WebCore/platform/gtk/GtkPopupMenu.cpp:95:131: error: expected ';' before ')' token

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