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. --- mail/em-folder-properties.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mail/em-folder-properties.c') diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c index c0e9ad9537..525a7ffefa 100644 --- a/mail/em-folder-properties.c +++ b/mail/em-folder-properties.c @@ -31,8 +31,6 @@ #include -#include - #include "em-folder-properties.h" #include "em-config.h" @@ -172,10 +170,12 @@ emfp_get_folder_item (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidg switch (properties[ii]->value_type) { case G_TYPE_BOOLEAN: widget = gtk_check_button_new_with_label (blurb); - e_mutual_binding_new ( + g_object_bind_property ( prop_data->object, properties[ii]->name, - widget, "active"); + widget, "active", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); gtk_widget_show (widget); gtk_table_attach ( GTK_TABLE (table), widget, -- cgit