aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-config.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-14 11:40:16 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-14 19:12:52 +0800
commit1e663aa13266cad55e5019c03e768a38955166eb (patch)
tree6d7a3e20d3a24f004d0db4ab1c06d8a768b2f112 /e-util/e-config.c
parent3f58ba3d833953c29bb6aa5e1834e2f367f15202 (diff)
downloadgsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.gz
gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.zst
gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.zip
Replace EBinding with GBinding.
GObject now does property bindings itself. Requires GLib >= 2.26.
Diffstat (limited to 'e-util/e-config.c')
-rw-r--r--e-util/e-config.c6
1 files changed, 4 insertions, 2 deletions
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 <glib/gi18n.h>
#include "e-config.h"
-#include "e-binding.h"
#include <glib/gi18n.h>
@@ -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;