Commit 5c2b9546 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Fix attach/attach->parent type. (#136919, Tim Mooney)

Thu Mar 11 16:28:15 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_get_toplevel): Fix attach/attach->parent
        type. (#136919, Tim Mooney)
parent 865d3dd2
Thu Mar 11 16:28:15 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_get_toplevel): Fix attach/attach->parent
type. (#136919, Tim Mooney)
Thu Mar 11 16:18:51 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): revert
......
Thu Mar 11 16:28:15 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_get_toplevel): Fix attach/attach->parent
type. (#136919, Tim Mooney)
Thu Mar 11 16:18:51 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): revert
......
Thu Mar 11 16:28:15 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_get_toplevel): Fix attach/attach->parent
type. (#136919, Tim Mooney)
Thu Mar 11 16:18:51 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): revert
......
Thu Mar 11 16:28:15 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_get_toplevel): Fix attach/attach->parent
type. (#136919, Tim Mooney)
Thu Mar 11 16:18:51 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): revert
......
Thu Mar 11 16:28:15 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_get_toplevel): Fix attach/attach->parent
type. (#136919, Tim Mooney)
Thu Mar 11 16:18:51 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): revert
......
......@@ -1659,10 +1659,10 @@ gtk_menu_get_toplevel (GtkWidget *menu)
attach = attach->parent;
if (GTK_IS_MENU (attach))
return gtk_menu_get_toplevel (attach->parent);
return gtk_menu_get_toplevel (attach);
else if (GTK_IS_WIDGET (attach))
{
toplevel = gtk_widget_get_toplevel (attach->parent);
toplevel = gtk_widget_get_toplevel (attach);
if (GTK_WIDGET_TOPLEVEL (toplevel))
return toplevel;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment