diff options
author | Milan Crha <mcrha@redhat.com> | 2011-08-26 16:30:50 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:56 +0800 |
commit | e55ccb6a8e9dc8a6800ca75f5e5f6fc5ddfa99b7 (patch) | |
tree | d6799b72d7ee1816fea5ec38ba87d401ee86df93 /mail/em-account-editor.c | |
parent | 2a31c8deffbeda6f92f31907da00a454eb4eb06e (diff) | |
download | gsoc2013-evolution-e55ccb6a8e9dc8a6800ca75f5e5f6fc5ddfa99b7.tar gsoc2013-evolution-e55ccb6a8e9dc8a6800ca75f5e5f6fc5ddfa99b7.tar.gz gsoc2013-evolution-e55ccb6a8e9dc8a6800ca75f5e5f6fc5ddfa99b7.tar.bz2 gsoc2013-evolution-e55ccb6a8e9dc8a6800ca75f5e5f6fc5ddfa99b7.tar.lz gsoc2013-evolution-e55ccb6a8e9dc8a6800ca75f5e5f6fc5ddfa99b7.tar.xz gsoc2013-evolution-e55ccb6a8e9dc8a6800ca75f5e5f6fc5ddfa99b7.tar.zst gsoc2013-evolution-e55ccb6a8e9dc8a6800ca75f5e5f6fc5ddfa99b7.zip |
Bug #657310 - Crash when editing transport-only accounts
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r-- | mail/em-account-editor.c | 8 |
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) { |