Commit a7e43ebf authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

Pass gtk_widget_get_toplevel() a GTK_WIDGET.

Thu Feb 17 14:52:57 2005  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
parent 8de5530e
Thu Feb 17 14:52:57 2005 Manish Singh <yosh@gimp.org>
* gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
2005-02-16 Matthias Clasen <mclasen@redhat.com>
* docs/iconcache.txt: Add some information about the
......
Thu Feb 17 14:52:57 2005 Manish Singh <yosh@gimp.org>
* gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
2005-02-16 Matthias Clasen <mclasen@redhat.com>
* docs/iconcache.txt: Add some information about the
......
Thu Feb 17 14:52:57 2005 Manish Singh <yosh@gimp.org>
* gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
2005-02-16 Matthias Clasen <mclasen@redhat.com>
* docs/iconcache.txt: Add some information about the
......
......@@ -1140,7 +1140,7 @@ gtk_combo_box_set_popup_widget (GtkComboBox *combo_box,
combo_box->priv->popup_window = gtk_window_new (GTK_WINDOW_POPUP);
toplevel = gtk_widget_get_toplevel (combo_box);
toplevel = gtk_widget_get_toplevel (GTK_WIDGET (combo_box));
if (GTK_IS_WINDOW (toplevel))
gtk_window_group_add_window (_gtk_window_get_group (GTK_WINDOW (toplevel)),
GTK_WINDOW (combo_box->priv->popup_window));
......@@ -1601,7 +1601,7 @@ gtk_combo_box_popup (GtkComboBox *combo_box)
return;
}
toplevel = gtk_widget_get_toplevel (combo_box);
toplevel = gtk_widget_get_toplevel (GTK_WIDGET (combo_box));
if (GTK_IS_WINDOW (toplevel))
gtk_window_group_add_window (_gtk_window_get_group (GTK_WINDOW (toplevel)),
GTK_WINDOW (combo_box->priv->popup_window));
......
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