Commit fbd96f31 authored by jacob berkman's avatar jacob berkman Committed by Jacob Berkman

fix infinite loop when gtk_combo_func() returns NULL (bug #75464)

2002-03-19  jacob berkman  <jacob@ximian.com>

	* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
	gtk_combo_func() returns NULL (bug #75464)
parent 226b6a3e
2002-03-19 jacob berkman <jacob@ximian.com>
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
gtk_combo_func() returns NULL (bug #75464)
2002-03-18 jacob berkman <jacob@ximian.com>
* gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
......
2002-03-19 jacob berkman <jacob@ximian.com>
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
gtk_combo_func() returns NULL (bug #75464)
2002-03-18 jacob berkman <jacob@ximian.com>
* gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
......
2002-03-19 jacob berkman <jacob@ximian.com>
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
gtk_combo_func() returns NULL (bug #75464)
2002-03-18 jacob berkman <jacob@ximian.com>
* gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
......
2002-03-19 jacob berkman <jacob@ximian.com>
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
gtk_combo_func() returns NULL (bug #75464)
2002-03-18 jacob berkman <jacob@ximian.com>
* gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
......
2002-03-19 jacob berkman <jacob@ximian.com>
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
gtk_combo_func() returns NULL (bug #75464)
2002-03-18 jacob berkman <jacob@ximian.com>
* gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
......
2002-03-19 jacob berkman <jacob@ximian.com>
* gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
gtk_combo_func() returns NULL (bug #75464)
2002-03-18 jacob berkman <jacob@ximian.com>
* gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
......
......@@ -319,9 +319,9 @@ gtk_combo_find (GtkCombo * combo)
else
compare_text = g_utf8_casefold (text, -1);
clist = GTK_LIST (combo->list)->children;
while (!found && clist && clist->data)
for (clist = GTK_LIST (combo->list)->children;
!found && clist;
clist = clist->next)
{
ltext = gtk_combo_func (GTK_LIST_ITEM (clist->data));
if (!ltext)
......@@ -335,8 +335,6 @@ gtk_combo_find (GtkCombo * combo)
if (!combo->case_sensitive)
g_free (ltext);
clist = clist->next;
}
if (!combo->case_sensitive)
......
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