gtk+ r20417 - in trunk: . gtk
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20417 - in trunk: . gtk
- Date: Tue, 17 Jun 2008 11:27:38 +0000 (UTC)
Author: mitch
Date: Tue Jun 17 11:27:37 2008
New Revision: 20417
URL: http://svn.gnome.org/viewvc/gtk+?rev=20417&view=rev
Log:
2008-06-17 Michael Natterer <mitch imendio com>
* gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
toplevel to GtkWindow when passing to gtk_window_set_type_hint().
Modified:
trunk/ChangeLog
trunk/gtk/gtkoptionmenu.c
Modified: trunk/gtk/gtkoptionmenu.c
==============================================================================
--- trunk/gtk/gtkoptionmenu.c (original)
+++ trunk/gtk/gtkoptionmenu.c Tue Jun 17 11:27:37 2008
@@ -895,7 +895,7 @@
gdk_window_get_origin (widget->window, &menu_xpos, &menu_ypos);
/* set combo box type hint for menu popup */
- gtk_window_set_type_hint (GTK_MENU (option_menu->menu)->toplevel,
+ gtk_window_set_type_hint (GTK_WINDOW (GTK_MENU (option_menu->menu)->toplevel),
GDK_WINDOW_TYPE_HINT_COMBO);
menu_xpos += widget->allocation.x;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]