aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-26 16:30:50 +0800
committerMilan Crha <mcrha@redhat.com>2011-08-26 16:30:50 +0800
commitaf690e79a1c7ec7caa2f9c661bd1bd3f709a3e30 (patch)
treebfae0be7adf7db828ca4a28371f773d3221a11ac /mail/em-account-editor.c
parenteab1c5b25236e6127bd1f42a87dd2851a40792f8 (diff)
downloadgsoc2013-evolution-af690e79a1c7ec7caa2f9c661bd1bd3f709a3e30.tar
gsoc2013-evolution-af690e79a1c7ec7caa2f9c661bd1bd3f709a3e30.tar.gz
gsoc2013-evolution-af690e79a1c7ec7caa2f9c661bd1bd3f709a3e30.tar.bz2
gsoc2013-evolution-af690e79a1c7ec7caa2f9c661bd1bd3f709a3e30.tar.lz
gsoc2013-evolution-af690e79a1c7ec7caa2f9c661bd1bd3f709a3e30.tar.xz
gsoc2013-evolution-af690e79a1c7ec7caa2f9c661bd1bd3f709a3e30.tar.zst
gsoc2013-evolution-af690e79a1c7ec7caa2f9c661bd1bd3f709a3e30.zip
Bug #657310 - Crash when editing transport-only accounts
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index d84eb65abf..8c184ae071 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -3196,7 +3196,7 @@ emae_defaults_page (EConfig *ec,
priv->trash_folder_button, "sensitive",
G_BINDING_SYNC_CREATE);
- pspec = g_object_class_find_property (
+ pspec = !settings ? NULL : g_object_class_find_property (
G_OBJECT_GET_CLASS (settings), "use-real-trash-path");
if (pspec != NULL)
@@ -3206,7 +3206,7 @@ emae_defaults_page (EConfig *ec,
G_BINDING_BIDIRECTIONAL |
G_BINDING_SYNC_CREATE);
- pspec = g_object_class_find_property (
+ pspec = !settings ? NULL : g_object_class_find_property (
G_OBJECT_GET_CLASS (settings), "real-trash-path");
if (pspec != NULL) {
@@ -3241,7 +3241,7 @@ emae_defaults_page (EConfig *ec,
priv->junk_folder_button, "sensitive",
G_BINDING_SYNC_CREATE);
- pspec = g_object_class_find_property (
+ pspec = !settings ? NULL : g_object_class_find_property (
G_OBJECT_GET_CLASS (settings), "use-real-junk-path");
if (pspec != NULL)
@@ -3251,7 +3251,7 @@ emae_defaults_page (EConfig *ec,
G_BINDING_BIDIRECTIONAL |
G_BINDING_SYNC_CREATE);
- pspec = g_object_class_find_property (
+ pspec = !settings ? NULL : g_object_class_find_property (
G_OBJECT_GET_CLASS (settings), "real-junk-path");
if (pspec != NULL) {