forked from AuroraMiddleware/gtk
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,8 +1576,8 @@ 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,
|
||||
GDK_WINDOW_TYPE_HINT_COMBO);
|
||||
gtk_window_set_type_hint (GTK_WINDOW (GTK_MENU (priv->popup_widget)->toplevel),
|
||||
GDK_WINDOW_TYPE_HINT_COMBO);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user