diff options
author | Milan Crha <mcrha@redhat.com> | 2008-12-09 20:40:08 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-12-09 20:40:08 +0800 |
commit | f21ef40ef391faa03d311ddce7668cce25215c07 (patch) | |
tree | f63747d4598ac8804e4c1eb86dc28ca28dd57e73 /e-util | |
parent | 6c66c13405dc583b0aea5ed55bb027769377e065 (diff) | |
download | gsoc2013-evolution-f21ef40ef391faa03d311ddce7668cce25215c07.tar.gz gsoc2013-evolution-f21ef40ef391faa03d311ddce7668cce25215c07.tar.zst gsoc2013-evolution-f21ef40ef391faa03d311ddce7668cce25215c07.zip |
** Fix for bug #555663
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.
svn path=/trunk/; revision=36853
Diffstat (limited to 'e-util')
-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), |