aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-source-config.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2014-04-11 16:49:15 +0800
committerMilan Crha <mcrha@redhat.com>2014-04-11 16:49:15 +0800
commit3bd387bc25f784a259d2a99c997884bd36aee3e7 (patch)
treeb176bd81f8f54b3b080d973e0672aceb26c26d75 /e-util/e-source-config.c
parent0d1eef0daddb38ccad1fc9caa99d32f4e84bb100 (diff)
downloadgsoc2013-evolution-3bd387bc25f784a259d2a99c997884bd36aee3e7.tar
gsoc2013-evolution-3bd387bc25f784a259d2a99c997884bd36aee3e7.tar.gz
gsoc2013-evolution-3bd387bc25f784a259d2a99c997884bd36aee3e7.tar.bz2
gsoc2013-evolution-3bd387bc25f784a259d2a99c997884bd36aee3e7.tar.lz
gsoc2013-evolution-3bd387bc25f784a259d2a99c997884bd36aee3e7.tar.xz
gsoc2013-evolution-3bd387bc25f784a259d2a99c997884bd36aee3e7.tar.zst
gsoc2013-evolution-3bd387bc25f784a259d2a99c997884bd36aee3e7.zip
Bug #684425 - Do not pass NULL text to gtk_entry_set_text()
Diffstat (limited to 'e-util/e-source-config.c')
-rw-r--r--e-util/e-source-config.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/e-util/e-source-config.c b/e-util/e-source-config.c
index 65b41fee66..57baf44ce8 100644
--- a/e-util/e-source-config.c
+++ b/e-util/e-source-config.c
@@ -24,6 +24,7 @@
#include "e-interval-chooser.h"
#include "e-marshal.h"
+#include "e-misc-utils.h"
#include "e-source-config-backend.h"
#define E_SOURCE_CONFIG_GET_PRIVATE(obj) \
@@ -769,12 +770,12 @@ static void
source_config_init_candidate (ESourceConfig *config,
ESource *scratch_source)
{
- g_object_bind_property (
+ e_binding_bind_object_text_property (
scratch_source, "display-name",
config->priv->name_label, "label",
G_BINDING_SYNC_CREATE);
- g_object_bind_property (
+ e_binding_bind_object_text_property (
scratch_source, "display-name",
config->priv->name_entry, "text",
G_BINDING_BIDIRECTIONAL |
@@ -1463,7 +1464,7 @@ e_source_config_add_user_entry (ESourceConfig *config,
config, scratch_source, _("User"), widget);
gtk_widget_show (widget);
- g_object_bind_property (
+ e_binding_bind_object_text_property (
extension, "user",
widget, "text",
G_BINDING_BIDIRECTIONAL |