diff options
author | Milan Crha <mcrha@redhat.com> | 2014-06-05 17:47:13 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-06-05 17:47:13 +0800 |
commit | 2e71c861438a25ceac5811d9d3aa528691e71410 (patch) | |
tree | 88acf6b67904de4caae1034cebb7c040f3fab804 /e-util/e-misc-utils.h | |
parent | 2f3fbdd6c6ff42a6c71ebe1d1d78108affe59d0f (diff) | |
download | gsoc2013-evolution-2e71c861438a25ceac5811d9d3aa528691e71410.tar gsoc2013-evolution-2e71c861438a25ceac5811d9d3aa528691e71410.tar.gz gsoc2013-evolution-2e71c861438a25ceac5811d9d3aa528691e71410.tar.bz2 gsoc2013-evolution-2e71c861438a25ceac5811d9d3aa528691e71410.tar.lz gsoc2013-evolution-2e71c861438a25ceac5811d9d3aa528691e71410.tar.xz gsoc2013-evolution-2e71c861438a25ceac5811d9d3aa528691e71410.tar.zst gsoc2013-evolution-2e71c861438a25ceac5811d9d3aa528691e71410.zip |
Properly disconnect signal handlers added with e_signal_connect_notify*()
This is a follow-up for the previous commit, where e_signal_connect_notify*()
functions had been added. Due to a different callback and user data being
attached to the 'notify' signal, the g_signal_handlers_*() functions do not
work properly, thus these e_signal_connect_notify*() functions need
a different way for a signal handler disconnect.
A side-change was done in e-settings-web-view-gtkhtml.c, checking for a real
key change from GSettings.
Diffstat (limited to 'e-util/e-misc-utils.h')
-rw-r--r-- | e-util/e-misc-utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/e-util/e-misc-utils.h b/e-util/e-misc-utils.h index 06de228899..ebc860b91e 100644 --- a/e-util/e-misc-utils.h +++ b/e-util/e-misc-utils.h @@ -228,6 +228,9 @@ gulong e_signal_connect_notify_object (gpointer instance, GCallback c_handler, gpointer gobject, GConnectFlags connect_flags); +void e_signal_disconnect_notify_handler + (gpointer instance, + gulong *handler_id); G_END_DECLS |