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. --- mail/em-utils.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'mail/em-utils.c') 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 #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; -- cgit