diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-03-08 00:41:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-03-08 00:41:43 +0800 |
commit | 579417fec3165f844516b5ba3d5d50f0849c39b7 (patch) | |
tree | 15ce7005472870652a6573ec1afb2567ba37459c /mail | |
parent | 50f6a77742027c624b3bf75577fb00bf38a70a95 (diff) | |
download | gsoc2013-evolution-579417fec3165f844516b5ba3d5d50f0849c39b7.tar gsoc2013-evolution-579417fec3165f844516b5ba3d5d50f0849c39b7.tar.gz gsoc2013-evolution-579417fec3165f844516b5ba3d5d50f0849c39b7.tar.bz2 gsoc2013-evolution-579417fec3165f844516b5ba3d5d50f0849c39b7.tar.lz gsoc2013-evolution-579417fec3165f844516b5ba3d5d50f0849c39b7.tar.xz gsoc2013-evolution-579417fec3165f844516b5ba3d5d50f0849c39b7.tar.zst gsoc2013-evolution-579417fec3165f844516b5ba3d5d50f0849c39b7.zip |
EMAccountEditor: Avoid a runtime warning.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/em-account-editor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index d9aa637f24..21dea7dff7 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -2329,8 +2329,9 @@ emae_setup_settings (EMAccountEditorService *service) path = camel_local_settings_get_path ( CAMEL_LOCAL_SETTINGS (settings)); - gtk_file_chooser_set_filename ( - GTK_FILE_CHOOSER (service->pathentry), path); + if (path != NULL && *path != '\0') + gtk_file_chooser_set_filename ( + GTK_FILE_CHOOSER (service->pathentry), path); } g_object_unref (settings); |