Commit 7d9dfbd2 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Fix the signature to avoid overwriting a pspec.

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktearoffmenuitem.c (tearoff_state_changed): Fix the signature
	to avoid overwriting a pspec.
parent ae66ef4f
2004-12-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktearoffmenuitem.c (tearoff_state_changed): Fix the signature
to avoid overwriting a pspec.
* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Revert a change
which prevented torn-off menus from being shown normally.
......
2004-12-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktearoffmenuitem.c (tearoff_state_changed): Fix the signature
to avoid overwriting a pspec.
* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Revert a change
which prevented torn-off menus from being shown normally.
......
2004-12-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktearoffmenuitem.c (tearoff_state_changed): Fix the signature
to avoid overwriting a pspec.
* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Revert a change
which prevented torn-off menus from being shown normally.
......
2004-12-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktearoffmenuitem.c (tearoff_state_changed): Fix the signature
to avoid overwriting a pspec.
* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Revert a change
which prevented torn-off menus from being shown normally.
......
......@@ -257,8 +257,11 @@ gtk_tearoff_menu_item_activate (GtkMenuItem *menu_item)
static void
tearoff_state_changed (GtkMenu *menu,
GtkTearoffMenuItem *tearoff_menu_item)
GParamSpec *pspec,
gpointer data)
{
GtkTearoffMenuItem *tearoff_menu_item = GTK_TEAROFF_MENU_ITEM (data);
tearoff_menu_item->torn_off = gtk_menu_get_tearoff_state (menu);
}
......
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