mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
cast menu's toplevel to GtkWindow when passing to
2008-06-13 Michael Natterer <mitch@imendio.com> * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's toplevel to GtkWindow when passing to gtk_window_set_type_hint(). svn path=/trunk/; revision=20372
This commit is contained in:
parent
a40901c115
commit
6aaea97378
@ -1,3 +1,8 @@
|
||||
2008-06-13 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
|
||||
toplevel to GtkWindow when passing to gtk_window_set_type_hint().
|
||||
|
||||
2008-06-13 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkuimanager.c (start_element_handler): silently skip
|
||||
|
@ -1576,7 +1576,7 @@ gtk_combo_box_menu_position (GtkMenu *menu,
|
||||
gtk_combo_box_menu_position_over (menu, x, y, push_in, user_data);
|
||||
}
|
||||
|
||||
gtk_window_set_type_hint (GTK_MENU (priv->popup_widget)->toplevel,
|
||||
gtk_window_set_type_hint (GTK_WINDOW (GTK_MENU (priv->popup_widget)->toplevel),
|
||||
GDK_WINDOW_TYPE_HINT_COMBO);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user