[evolution-mapi] Bug #684425 - Do not pass NULL text to gtk_entry_set_text()



commit c25954c74589f404eeec81dd9d75c9e5a17f0dc3
Author: Milan Crha <mcrha redhat com>
Date:   Fri Apr 11 11:02:22 2014 +0200

    Bug #684425 - Do not pass NULL text to gtk_entry_set_text()

 src/configuration/e-mail-config-mapi-backend.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/configuration/e-mail-config-mapi-backend.c b/src/configuration/e-mail-config-mapi-backend.c
index bab840e..0bbda9e 100644
--- a/src/configuration/e-mail-config-mapi-backend.c
+++ b/src/configuration/e-mail-config-mapi-backend.c
@@ -729,7 +729,7 @@ mail_config_mapi_backend_insert_widgets (EMailConfigServiceBackend *backend,
        gtk_widget_set_hexpand (entry, TRUE);
        gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
 
-       g_object_bind_property (
+       e_binding_bind_object_text_property (
                settings, "host",
                entry, "text",
                G_BINDING_BIDIRECTIONAL |
@@ -746,7 +746,7 @@ mail_config_mapi_backend_insert_widgets (EMailConfigServiceBackend *backend,
        gtk_widget_set_hexpand (entry, TRUE);
        gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
 
-       g_object_bind_property (
+       e_binding_bind_object_text_property (
                settings, "user",
                entry, "text",
                G_BINDING_BIDIRECTIONAL |
@@ -771,7 +771,7 @@ mail_config_mapi_backend_insert_widgets (EMailConfigServiceBackend *backend,
        gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
        gtk_widget_set_hexpand (entry, TRUE);
        gtk_container_add (GTK_CONTAINER (hgrid), entry);
-       g_object_bind_property (
+       e_binding_bind_object_text_property (
                settings, "domain",
                entry, "text",
                G_BINDING_BIDIRECTIONAL |
@@ -828,7 +828,7 @@ mail_config_mapi_backend_insert_widgets (EMailConfigServiceBackend *backend,
        gtk_widget_set_hexpand (entry, TRUE);
        gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
 
-       g_object_bind_property (
+       e_binding_bind_object_text_property (
                settings, "realm",
                entry, "text",
                G_BINDING_BIDIRECTIONAL |


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