Commit e8a62bd8 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Set GDK_WINDOW_TYPE_HINT_MENU on tearoff window.

2001-03-05  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
	Set GDK_WINDOW_TYPE_HINT_MENU on tearoff window.
parent 3839abae
2001-03-05 Alexander Larsson <alexl@redhat.com>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
Set GDK_WINDOW_TYPE_HINT_MENU on tearoff window.
2001-03-05 Michael Natterer <mitch@gimp.org>
* gtk/gtklabel.c: Made the "parent_class" pointer static. The
......
2001-03-05 Alexander Larsson <alexl@redhat.com>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
Set GDK_WINDOW_TYPE_HINT_MENU on tearoff window.
2001-03-05 Michael Natterer <mitch@gimp.org>
* gtk/gtklabel.c: Made the "parent_class" pointer static. The
......
2001-03-05 Alexander Larsson <alexl@redhat.com>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
Set GDK_WINDOW_TYPE_HINT_MENU on tearoff window.
2001-03-05 Michael Natterer <mitch@gimp.org>
* gtk/gtklabel.c: Made the "parent_class" pointer static. The
......
2001-03-05 Alexander Larsson <alexl@redhat.com>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
Set GDK_WINDOW_TYPE_HINT_MENU on tearoff window.
2001-03-05 Michael Natterer <mitch@gimp.org>
* gtk/gtklabel.c: Made the "parent_class" pointer static. The
......
2001-03-05 Alexander Larsson <alexl@redhat.com>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
Set GDK_WINDOW_TYPE_HINT_MENU on tearoff window.
2001-03-05 Michael Natterer <mitch@gimp.org>
* gtk/gtklabel.c: Made the "parent_class" pointer static. The
......
2001-03-05 Alexander Larsson <alexl@redhat.com>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
Set GDK_WINDOW_TYPE_HINT_MENU on tearoff window.
2001-03-05 Michael Natterer <mitch@gimp.org>
* gtk/gtklabel.c: Made the "parent_class" pointer static. The
......
2001-03-05 Alexander Larsson <alexl@redhat.com>
* gtk/gtkmenu.c (gtk_menu_set_tearoff_state):
Set GDK_WINDOW_TYPE_HINT_MENU on tearoff window.
2001-03-05 Michael Natterer <mitch@gimp.org>
* gtk/gtklabel.c: Made the "parent_class" pointer static. The
......
......@@ -840,6 +840,8 @@ gtk_menu_set_tearoff_state (GtkMenu *menu,
"type", GTK_WINDOW_TOPLEVEL,
"signal::destroy", gtk_widget_destroyed, &menu->tearoff_window,
NULL);
gtk_window_set_type_hint (GTK_WINDOW (menu->tearoff_window),
GDK_WINDOW_TYPE_HINT_MENU);
gtk_widget_set_app_paintable (menu->tearoff_window, TRUE);
gtk_signal_connect (GTK_OBJECT (menu->tearoff_window),
"event",
......
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