2002-12-30  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=101128
	* mime-types-model.c (mime_types_model_iter_children) : apply patch
	  from padraig.
This commit is contained in:
Jody Goldberg 2002-12-30 18:25:17 +00:00 committed by Jody Goldberg
parent 7ab04a374d
commit fed2321c9a
2 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2002-12-30 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=101128
* mime-types-model.c (mime_types_model_iter_children) : apply patch
from padraig.
2002-12-18 Jody Goldberg <jody@gnome.org>
* Release 2.1.5

View file

@ -506,12 +506,9 @@ mime_types_model_iter_children (GtkTreeModel *tree_model, GtkTreeIter *iter, Gtk
if (parent != NULL)
entry = parent->user_data;
else
entry = NULL;
entry = get_model_entries (tree_model);
if (entry == NULL)
iter->user_data = get_model_entries (tree_model);
else
iter->user_data = entry->first_child;
iter->user_data = entry->first_child;
if (model->p->category_only)
while (iter->user_data != NULL && !IS_CATEGORY (MODEL_ENTRY (iter->user_data)))