Fix a C99ism. (#320000, Kazuki Iwamoto)

2005-10-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_build_level): Fix a
	C99ism.  (#320000, Kazuki Iwamoto)
This commit is contained in:
Matthias Clasen 2005-10-28 14:16:45 +00:00 committed by Matthias Clasen
parent eac8eb4d99
commit feb5ffb032
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2005-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_build_level): Fix a
C99ism. (#320000, Kazuki Iwamoto)
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little
stars. (#319985, Bastien Nocera)

View File

@ -1,5 +1,8 @@
2005-10-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_build_level): Fix a
C99ism. (#320000, Kazuki Iwamoto)
* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little
stars. (#319985, Bastien Nocera)

View File

@ -613,6 +613,7 @@ gtk_tree_model_filter_build_level (GtkTreeModelFilter *filter,
* to make sure that we get all signals for this level.
*/
FilterElt filter_elt;
GtkTreeIter f_iter;
filter_elt.offset = 0;
filter_elt.zero_ref_count = 0;
@ -625,8 +626,6 @@ gtk_tree_model_filter_build_level (GtkTreeModelFilter *filter,
g_array_append_val (new_level->array, filter_elt);
GtkTreeIter f_iter;
f_iter.stamp = filter->priv->stamp;
f_iter.user_data = new_level;
f_iter.user_data2 = &(g_array_index (new_level->array, FilterElt, new_level->array->len - 1));