forked from AuroraMiddleware/gtk
Bail out if the model is empty. Fixes #143536.
2004-06-02 Federico Mena Quintero <federico@ximian.com> * gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the model is empty. Fixes #143536.
This commit is contained in:
parent
a3d5971960
commit
aff289b83a
@ -1,3 +1,8 @@
|
||||
2004-06-02 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the
|
||||
model is empty. Fixes #143536.
|
||||
|
||||
2004-06-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_size_focus_out): Don't
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-06-02 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the
|
||||
model is empty. Fixes #143536.
|
||||
|
||||
2004-06-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_size_focus_out): Don't
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-06-02 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the
|
||||
model is empty. Fixes #143536.
|
||||
|
||||
2004-06-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_size_focus_out): Don't
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-06-02 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_init): Bail out if the
|
||||
model is empty. Fixes #143536.
|
||||
|
||||
2004-06-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_size_focus_out): Don't
|
||||
|
@ -12109,7 +12109,8 @@ gtk_tree_view_search_init (GtkWidget *entry,
|
||||
if (len < 1)
|
||||
return;
|
||||
|
||||
gtk_tree_model_get_iter_first (model, &iter);
|
||||
if (!gtk_tree_model_get_iter_first (model, &iter))
|
||||
return;
|
||||
|
||||
ret = gtk_tree_view_search_iter (model, selection,
|
||||
&iter, text,
|
||||
|
Loading…
Reference in New Issue
Block a user