diff options
-rw-r--r-- | e-util/ChangeLog | 7 | ||||
-rw-r--r-- | e-util/gconf-bridge.c | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 18ab054e84..0fe2400300 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,10 @@ +2008-12-09 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #555663 + + * gconf-bridge.c: (struct WindowBinding), (gconf_bridge_bind_window), + (window_binding_unbind): Do not overwrite signal id. + 2008-12-05 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #332629 diff --git a/e-util/gconf-bridge.c b/e-util/gconf-bridge.c index 5135eb1d30..451b7052cb 100644 --- a/e-util/gconf-bridge.c +++ b/e-util/gconf-bridge.c @@ -70,6 +70,7 @@ typedef struct { GtkWindow *window; gulong configure_event_id; + gulong window_state_event_id; gulong unmap_id; guint sync_timeout_id; } WindowBinding; @@ -819,7 +820,7 @@ gconf_bridge_bind_window (GConfBridge *bridge, (window_binding_configure_event_cb), binding); - binding->configure_event_id = + binding->window_state_event_id = g_signal_connect (window, "window_state_event", G_CALLBACK @@ -857,6 +858,8 @@ window_binding_unbind (WindowBinding *binding) g_signal_handler_disconnect (binding->window, binding->configure_event_id); g_signal_handler_disconnect (binding->window, + binding->window_state_event_id); + g_signal_handler_disconnect (binding->window, binding->unmap_id); g_object_weak_unref (G_OBJECT (binding->window), |