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:
Björn Lindqvist 2008-08-04 21:37:02 +00:00 committed by Björn Lindqvist
parent 361a787cfd
commit 67a8a3a265
2 changed files with 9 additions and 1 deletions

View File

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

View File

@ -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);
}