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. --- e-util/e-config.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'e-util/e-config.c') diff --git a/e-util/e-config.c b/e-util/e-config.c index dd51f8efc7..6646fa17d9 100644 --- a/e-util/e-config.c +++ b/e-util/e-config.c @@ -31,7 +31,6 @@ #include #include "e-config.h" -#include "e-binding.h" #include @@ -1704,7 +1703,10 @@ ech_config_section_factory (EConfig *config, /* This is why we have a custom factory for sections. * When the plugin is disabled the frame is invisible. */ plugin = group->hook->hook.plugin; - e_binding_new (plugin, "enabled", widget, "visible"); + g_object_bind_property ( + plugin, "enabled", + widget, "visible", + G_BINDING_SYNC_CREATE); parent = widget; -- cgit v1.2.3