diff options
author | Michael Natterer <mitch@imendio.com> | 2008-02-06 09:53:34 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-02-06 09:53:34 +0000 |
commit | e7355f82c2409f545210a8738bab262548f75e69 (patch) | |
tree | cf5729a1d44df53056bb9e67b355bd791994fb0f /gtk/gtktoolitem.c | |
parent | 0f1958e355b3c9948f0f1de4487c9a4ac57bda6f (diff) | |
download | gtk+-e7355f82c2409f545210a8738bab262548f75e69.tar.gz |
gtk/gtkcontainer.c gtk/gtkexpander.c gtk/gtkframe.c gtk/gtklabel.c
2008-02-06 Michael Natterer <mitch@imendio.com>
* gtk/gtkcontainer.c
* gtk/gtkexpander.c
* gtk/gtkframe.c
* gtk/gtklabel.c
* gtk/gtkmain.c
* gtk/gtkmenu.c
* gtk/gtkmenuitem.c
* gtk/gtkmenushell.c
* gtk/gtknotebook.c
* gtk/gtkseparatortoolitem.c
* gtk/gtksocket.c
* gtk/gtktextlayout.c
* gtk/gtktoggletoolbutton.c
* gtk/gtktoolbutton.c
* gtk/gtktoolitem.c
* gtk/gtktree.c
* gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
"GTK_IS_FOO (foo)".
svn path=/trunk/; revision=19481
Diffstat (limited to 'gtk/gtktoolitem.c')
-rw-r--r-- | gtk/gtktoolitem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index d86097ae9c..c6cbb8e776 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -1119,8 +1119,8 @@ gtk_tool_item_rebuild_menu (GtkToolItem *tool_item) g_return_if_fail (GTK_IS_TOOL_ITEM (tool_item)); widget = GTK_WIDGET (tool_item); - - if (widget->parent && GTK_IS_TOOL_SHELL (widget->parent)) + + if (GTK_IS_TOOL_SHELL (widget->parent)) gtk_tool_shell_rebuild_menu (GTK_TOOL_SHELL (widget->parent)); } |