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 /mail/em-utils.c | |
parent | 3f58ba3d833953c29bb6aa5e1834e2f367f15202 (diff) | |
download | gsoc2013-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 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index ab85007787..9f1f82ec50 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -61,7 +61,6 @@ #include <libedataserver/e-proxy.h> #include "e-util/e-util.h" #include "e-util/e-util-private.h" -#include "e-util/e-binding.h" #include "e-util/e-mktemp.h" #include "e-util/e-account-utils.h" #include "e-util/e-dialog-utils.h" @@ -394,12 +393,14 @@ em_utils_flag_for_followup (EMailReader *reader, shell_settings = e_shell_get_shell_settings (shell); /* These settings come from the calendar module. */ - e_binding_new ( + g_object_bind_property ( shell_settings, "cal-use-24-hour-format", - editor, "use-24-hour-format"); - e_binding_new ( + editor, "use-24-hour-format", + G_BINDING_SYNC_CREATE); + g_object_bind_property ( shell_settings, "cal-week-start-day", - editor, "week-start-day"); + editor, "week-start-day", + G_BINDING_SYNC_CREATE); for (i = 0; i < uids->len; i++) { CamelMessageInfo *info; |