mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
use strstr instead of strcmp (#117127, suggestion from Soeren Sandmann).
Fri Dec 19 22:18:19 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr instead of strcmp (#117127, suggestion from Soeren Sandmann).
This commit is contained in:
parent
8a834dce94
commit
30d9f88996
@ -1,3 +1,8 @@
|
||||
Fri Dec 19 22:18:19 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr
|
||||
instead of strcmp (#117127, suggestion from Soeren Sandmann).
|
||||
|
||||
Fri Dec 19 21:52:46 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Dec 19 22:18:19 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr
|
||||
instead of strcmp (#117127, suggestion from Soeren Sandmann).
|
||||
|
||||
Fri Dec 19 21:52:46 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Dec 19 22:18:19 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr
|
||||
instead of strcmp (#117127, suggestion from Soeren Sandmann).
|
||||
|
||||
Fri Dec 19 21:52:46 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Dec 19 22:18:19 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr
|
||||
instead of strcmp (#117127, suggestion from Soeren Sandmann).
|
||||
|
||||
Fri Dec 19 21:52:46 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Dec 19 22:18:19 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr
|
||||
instead of strcmp (#117127, suggestion from Soeren Sandmann).
|
||||
|
||||
Fri Dec 19 21:52:46 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic
|
||||
|
@ -11663,7 +11663,7 @@ gtk_tree_view_search_equal_func (GtkTreeModel *model,
|
||||
|
||||
key_len = strlen (case_normalized_key);
|
||||
|
||||
if (!strncmp (case_normalized_key, case_normalized_string, key_len))
|
||||
if (strstr (case_normalized_string, case_normalized_key))
|
||||
retval = FALSE;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user