diff options
Diffstat (limited to 'plugins/mail-notification')
-rw-r--r-- | plugins/mail-notification/mail-notification.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index 022c2c92d6..b83a1bf272 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -37,7 +37,6 @@ #include <time.h> -#include <e-util/e-binding.h> #include <e-util/e-config.h> #include <e-util/gconf-bridge.h> #include <mail/em-utils.h> @@ -640,9 +639,10 @@ get_config_widget_status (void) gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); gtk_widget_show (widget); - e_binding_new ( + g_object_bind_property ( master, "active", - widget, "sensitive"); + widget, "sensitive", + G_BINDING_SYNC_CREATE); container = widget; @@ -857,9 +857,10 @@ get_config_widget_sound (void) gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); gtk_widget_show (widget); - e_binding_new ( + g_object_bind_property ( master, "active", - widget, "sensitive"); + widget, "sensitive", + G_BINDING_SYNC_CREATE); container = widget; |