[evolution-ews] Bug #684425 - Do not pass NULL text to gtk_entry_set_text()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Bug #684425 - Do not pass NULL text to gtk_entry_set_text()
- Date: Fri, 11 Apr 2014 08:59:33 +0000 (UTC)
commit 616f1778ae67aed7bb9372e4da13fc23d00a9c35
Author: Milan Crha <mcrha redhat com>
Date: Fri Apr 11 10:59:14 2014 +0200
Bug #684425 - Do not pass NULL text to gtk_entry_set_text()
src/configuration/e-mail-config-ews-backend.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/configuration/e-mail-config-ews-backend.c b/src/configuration/e-mail-config-ews-backend.c
index 74c35a7..e0ee76c 100644
--- a/src/configuration/e-mail-config-ews-backend.c
+++ b/src/configuration/e-mail-config-ews-backend.c
@@ -226,7 +226,7 @@ mail_config_ews_backend_insert_widgets (EMailConfigServiceBackend *backend,
gtk_widget_show (widget);
priv->impersonate_user_entry = widget; /* do not reference */
- g_object_bind_property (
+ e_binding_bind_object_text_property (
settings, "impersonate-user",
widget, "text",
G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE);
@@ -263,19 +263,19 @@ mail_config_ews_backend_insert_widgets (EMailConfigServiceBackend *backend,
priv->auth_check = widget; /* do not reference */
gtk_widget_show (widget);
- g_object_bind_property (
+ e_binding_bind_object_text_property (
settings, "user",
priv->user_entry, "text",
G_BINDING_BIDIRECTIONAL |
G_BINDING_SYNC_CREATE);
- g_object_bind_property (
+ e_binding_bind_object_text_property (
settings, "hosturl",
priv->host_entry, "text",
G_BINDING_BIDIRECTIONAL |
G_BINDING_SYNC_CREATE);
- g_object_bind_property (
+ e_binding_bind_object_text_property (
settings, "oaburl",
priv->oab_entry, "text",
G_BINDING_BIDIRECTIONAL |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]