mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
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)
This commit is contained in:
parent
226b6a3e35
commit
fbd96f31d4
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user