aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 35727e7da3..1e144e3cbc 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -158,8 +158,9 @@ create_dropdown_entry (EMsgComposerHdrs *hdrs,
values = g_list_append (values, addr_local);
stmp = stmp->next;
}
-
- gtk_combo_set_popdown_strings (GTK_COMBO (combo), values);
+
+ if (values)
+ gtk_combo_set_popdown_strings (GTK_COMBO (combo), values);
tmp = values;
while (tmp) {