diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-14 11:40:16 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-14 19:12:52 +0800 |
commit | 1e663aa13266cad55e5019c03e768a38955166eb (patch) | |
tree | 6d7a3e20d3a24f004d0db4ab1c06d8a768b2f112 /calendar/gui/dialogs/comp-editor.c | |
parent | 3f58ba3d833953c29bb6aa5e1834e2f367f15202 (diff) | |
download | gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.gz gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.bz2 gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.lz gsoc2013-evolution-1e663aa13266cad55e5019c03e768a38955166eb.tar.xz 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 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 63196abea4..eb908d1e33 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -36,7 +36,6 @@ #include <glib/gstdio.h> #include <gdk/gdkkeysyms.h> #include <e-util/e-util.h> -#include <e-util/e-binding.h> #include <e-util/e-alert-sink.h> #include <e-util/e-dialog-utils.h> #include <e-util/e-util-private.h> @@ -1842,9 +1841,10 @@ comp_editor_init (CompEditor *editor) action_group = comp_editor_get_action_group (editor, "individual"); action_group_2 = e_attachment_view_get_action_group (view, "editable"); - e_binding_new ( + g_object_bind_property ( action_group, "sensitive", - action_group_2, "sensitive"); + action_group_2, "sensitive", + G_BINDING_SYNC_CREATE); /* Listen for attachment store changes. */ |