summaryrefslogtreecommitdiff
path: root/gtk/gtkaction.c
diff options
context:
space:
mode:
authorPhilip Langdale <plangdale@vmware.com>2004-08-22 23:45:36 +0000
committerPhilip Langdale <philipl@src.gnome.org>2004-08-22 23:45:36 +0000
commit515c055ccdd96741d14e9767be9575d1a19b4a4d (patch)
tree31361245ed47ec6d415ad208233fa09061bd919e /gtk/gtkaction.c
parent7ed263a2667e914b7b6258ad872a6034cbddcef0 (diff)
downloadgtk+-515c055ccdd96741d14e9767be9575d1a19b4a4d.tar.gz
Two signals (gtk_action_sync_property and gtk_action_sync_sensitive) were
2004-08-22 Philip Langdale <plangdale@vmware.com> * gtk/gtkaction.c (gtk_action_disconnect_proxy): Two signals (gtk_action_sync_property and gtk_action_sync_sensitive) were not being correctly disconnected, leading to actions continuing to affect disconnected proxies. (#150607)
Diffstat (limited to 'gtk/gtkaction.c')
-rw-r--r--gtk/gtkaction.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkaction.c b/gtk/gtkaction.c
index b3b0557e0c..b757957169 100644
--- a/gtk/gtkaction.c
+++ b/gtk/gtkaction.c
@@ -968,12 +968,12 @@ disconnect_proxy (GtkAction *action,
action);
/* disconnect handlers for notify::* signals */
- g_signal_handlers_disconnect_by_func (proxy,
+ g_signal_handlers_disconnect_by_func (action,
G_CALLBACK (gtk_action_sync_sensitivity),
- action);
- g_signal_handlers_disconnect_by_func (proxy,
+ proxy);
+ g_signal_handlers_disconnect_by_func (action,
G_CALLBACK (gtk_action_sync_property),
- action);
+ proxy);
g_signal_handlers_disconnect_by_func (action,
G_CALLBACK (gtk_action_sync_stock_id), proxy);