[evolution-ews] Offline GAL UI binding has combo box as a target object



commit 6f1bde0cf9d1b9b5ab4665d37d60f93171147794
Author: Milan Crha <mcrha redhat com>
Date:   Tue Sep 4 19:03:39 2012 +0200

    Offline GAL UI binding has combo box as a target object

 src/configuration/e-mail-config-ews-gal.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/configuration/e-mail-config-ews-gal.c b/src/configuration/e-mail-config-ews-gal.c
index 5fe2a53..82177f7 100644
--- a/src/configuration/e-mail-config-ews-gal.c
+++ b/src/configuration/e-mail-config-ews-gal.c
@@ -139,14 +139,14 @@ mail_config_ews_gal_active_id_to_oal_selected (GBinding *binding,
                                                GValue *target_value,
                                                gpointer unused)
 {
-	GObject *source_object;
+	GObject *target_object;
 	GtkComboBoxText *combo_box;
 	const gchar *active_id;
 	const gchar *active_text;
 	gchar *selected = NULL;
 
-	source_object = g_binding_get_source (binding);
-	combo_box = GTK_COMBO_BOX_TEXT (source_object);
+	target_object = g_binding_get_target (binding);
+	combo_box = GTK_COMBO_BOX_TEXT (target_object);
 
 	active_id = g_value_get_string (source_value);
 	active_text = gtk_combo_box_text_get_active_text (combo_box);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]