diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-01-29 23:26:45 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-01-29 23:26:45 +0000 |
commit | bdca6b33b8601efad6c3ba9ee767f91664479491 (patch) | |
tree | cad44772ff2e5fa4faffd5dd81faff806954d8a8 /gtk/gtkcombo.c | |
parent | fede8fef1d635db8b59fa5146fcec805d301a60d (diff) | |
download | gtk+-bdca6b33b8601efad6c3ba9ee767f91664479491.tar.gz |
Allow NULL for strings to clear the list. (#105386, Marco Pesenti Gritti)
Fri Jan 30 00:13:46 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombo.c (gtk_combo_set_popdown_strings): Allow NULL
for strings to clear the list. (#105386, Marco Pesenti Gritti)
Diffstat (limited to 'gtk/gtkcombo.c')
-rw-r--r-- | gtk/gtkcombo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcombo.c b/gtk/gtkcombo.c index 9282473c4f..0fadeb9b61 100644 --- a/gtk/gtkcombo.c +++ b/gtk/gtkcombo.c @@ -1109,13 +1109,13 @@ gtk_combo_set_use_arrows_always (GtkCombo * combo, gboolean val) } void -gtk_combo_set_popdown_strings (GtkCombo * combo, GList * strings) +gtk_combo_set_popdown_strings (GtkCombo *combo, + GList *strings) { GList *list; GtkWidget *li; g_return_if_fail (GTK_IS_COMBO (combo)); - g_return_if_fail (strings != NULL); gtk_combo_popdown_list (combo); |