summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubar.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-07-12 21:46:32 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-07-12 21:46:32 +0000
commitaefa836108a38841d424ff0d88bab927ceaa5202 (patch)
treed739912a5db6a1fa83aaac8258caaf17248d41f2 /gtk/gtkmenubar.c
parenta70fca529beca4724d235653399cee611db8e870 (diff)
downloadgdk-pixbuf-aefa836108a38841d424ff0d88bab927ceaa5202.tar.gz
Patch from Mathias Hasselmann to fix warnings in compat macros. (#56773)
Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias Hasselmann to fix warnings in compat macros. (#56773) * gtk/gtkmenubar.c (gtk_menu_bar_hierarchy_changed): Fix stupid wrong cast added in last patch.
Diffstat (limited to 'gtk/gtkmenubar.c')
-rw-r--r--gtk/gtkmenubar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c
index 15100d7de..1268fb35a 100644
--- a/gtk/gtkmenubar.c
+++ b/gtk/gtkmenubar.c
@@ -484,7 +484,7 @@ gtk_menu_bar_hierarchy_changed (GtkWidget *widget,
toplevel = gtk_widget_get_toplevel (widget);
if (old_toplevel)
- remove_from_window (old_toplevel, GTK_WINDOW (menubar));
+ remove_from_window (old_toplevel, GTK_MENU_BAR (menubar));
if (GTK_WIDGET_TOPLEVEL (toplevel))
add_to_window (GTK_WINDOW (toplevel), menubar);