aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@ximian.com>2001-01-12 11:34:44 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2001-01-12 11:34:44 +0800
commitc9246a157e1dae8c34a6559f75fa47883debe40f (patch)
tree3721d81c7e985df804e4ec38fa311965d24b095b /composer/e-msg-composer-hdrs.c
parentfcab7b57790451d252db55a39a2c8d520689a376 (diff)
downloadgsoc2013-evolution-c9246a157e1dae8c34a6559f75fa47883debe40f.tar.gz
gsoc2013-evolution-c9246a157e1dae8c34a6559f75fa47883debe40f.tar.zst
gsoc2013-evolution-c9246a157e1dae8c34a6559f75fa47883debe40f.zip
Only set the popdown strings if we have anything to popdown.
2001-01-11 Miguel de Icaza <miguel@ximian.com> * e-msg-composer-hdrs.c (create_dropdown_entry): Only set the popdown strings if we have anything to popdown. svn path=/trunk/; revision=7425
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) {