fix warning. (gtk_tree_view_search_iter): fix warning, #85884
Fri Jul 5 02:50:24 2002 Jonathan Blandford <jrb@gnome.org> * gtk/gtktreeview.c (gtk_tree_view_collapse_all): fix warning. (gtk_tree_view_search_iter): fix warning, #85884 * gtk/gtktreestore.c (gtk_tree_store_get_flags): change return value to GtkTreeModelFlags to fix compiler warning, #85883 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags): change return value to GtkTreeModelFlags to fix compiler warning, #85882 * gtk/gtktreemodel.c (gtk_tree_path_prepend_index): fix compiler warning, #85881
This commit is contained in:
committed by
Jonathan Blandford
parent
c9bd72a3bf
commit
e05a96609d
@ -284,7 +284,11 @@ void
|
||||
gtk_tree_path_prepend_index (GtkTreePath *path,
|
||||
gint index)
|
||||
{
|
||||
gint *new_indices = g_new (gint, ++path->depth);
|
||||
gint *new_indices;
|
||||
|
||||
(path->depth)++;
|
||||
new_indices = g_new (gint, path->depth);
|
||||
|
||||
if (path->indices == NULL)
|
||||
{
|
||||
path->indices = new_indices;
|
||||
|
||||
Reference in New Issue
Block a user