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)
This commit is contained in:
Matthias Clasen 2004-01-29 23:26:45 +00:00 committed by Matthias Clasen
parent fede8fef1d
commit bdca6b33b8
8 changed files with 33 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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):

View File

@ -1,3 +1,8 @@
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

View File

@ -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 ##### -->

View File

@ -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);