forked from AuroraMiddleware/gtk
Bug 534979 – GtkImageMenuItem is a bin but has two children.
2008-08-04 Björn Lindqvist <bjourne@gmail.com> Bug 534979 – GtkImageMenuItem is a bin but has two children. * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not include the image widget when iterating over non-internal children. Patch by rainwoodman. svn path=/trunk/; revision=20985
This commit is contained in:
parent
361a787cfd
commit
67a8a3a265
@ -1,3 +1,11 @@
|
||||
2008-08-04 Björn Lindqvist <bjourne@gmail.com>
|
||||
|
||||
Bug 534979 – GtkImageMenuItem is a bin but has two children.
|
||||
|
||||
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
|
||||
include the image widget when iterating over non-internal
|
||||
children. Patch by rainwoodman.
|
||||
|
||||
2008-08-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* NEWS: Updates
|
||||
|
@ -352,7 +352,7 @@ gtk_image_menu_item_forall (GtkContainer *container,
|
||||
callback,
|
||||
callback_data);
|
||||
|
||||
if (image_menu_item->image)
|
||||
if (include_internals && image_menu_item->image)
|
||||
(* callback) (image_menu_item->image, callback_data);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user