diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-12-13 19:53:19 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-12-13 19:53:19 +0000 |
commit | 7d9dfbd20e912f1596b041e71b2208a1ddfc35fa (patch) | |
tree | d68b836d2c3423b23fab9c757149bcd5589120f3 /gtk | |
parent | ae66ef4fdb8a5a84cbd23ff0d5f8d404674049cf (diff) | |
download | gtk+-7d9dfbd20e912f1596b041e71b2208a1ddfc35fa.tar.gz |
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.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtktearoffmenuitem.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtktearoffmenuitem.c b/gtk/gtktearoffmenuitem.c index 375005de74..9df9ea9d90 100644 --- a/gtk/gtktearoffmenuitem.c +++ b/gtk/gtktearoffmenuitem.c @@ -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); } |