aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-config.c
diff options
context:
space:
mode:
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;