From 1e663aa13266cad55e5019c03e768a38955166eb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 13 Oct 2010 23:40:16 -0400 Subject: Replace EBinding with GBinding. GObject now does property bindings itself. Requires GLib >= 2.26. --- plugins/mail-notification/mail-notification.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'plugins/mail-notification') 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 -#include #include #include #include @@ -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; -- cgit v1.2.3