Commit bdca6b33 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent fede8fef
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)
2004-01-28 Richard Hult <richard@imendio.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size):
......
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)
2004-01-28 Richard Hult <richard@imendio.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size):
......
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)
2004-01-28 Richard Hult <richard@imendio.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size):
......
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)
2004-01-28 Richard Hult <richard@imendio.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size):
......
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)
2004-01-28 Richard Hult <richard@imendio.com>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size):
......
Fri Jan 30 00:27:36 2004 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtkcombo.sgml: Document clearing the list with
gtk_combo_set_popdown_strings().
Wed Jan 28 22:51:41 2004 Matthias Clasen <maclas@gmx.de>
* gtk/tmpl/gtktreeviewcolumn.sgml: Remove unfinished sentence, until
......
......@@ -146,7 +146,7 @@ Convenience function to set all of the items in the popup list.
</para>
@combo: a #GtkCombo.
@strings: a list of strings.
@strings: a list of strings, or %NULL to clear the popup list
<!-- ##### FUNCTION gtk_combo_set_value_in_list ##### -->
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment