+Sun Nov 3 21:26:20 2002 Kristian Rietveld <kris@gtk.org>
+
+ Bah, and of course I broke something ...
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): fix
+ up the mess I caused with my commit of Oct 23 fixing #50263, things
+ should be fine now.
+
Sun Nov 3 13:03:29 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c configure.in: Remove check for
+Sun Nov 3 21:26:20 2002 Kristian Rietveld <kris@gtk.org>
+
+ Bah, and of course I broke something ...
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): fix
+ up the mess I caused with my commit of Oct 23 fixing #50263, things
+ should be fine now.
+
Sun Nov 3 13:03:29 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c configure.in: Remove check for
+Sun Nov 3 21:26:20 2002 Kristian Rietveld <kris@gtk.org>
+
+ Bah, and of course I broke something ...
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): fix
+ up the mess I caused with my commit of Oct 23 fixing #50263, things
+ should be fine now.
+
Sun Nov 3 13:03:29 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c configure.in: Remove check for
+Sun Nov 3 21:26:20 2002 Kristian Rietveld <kris@gtk.org>
+
+ Bah, and of course I broke something ...
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): fix
+ up the mess I caused with my commit of Oct 23 fixing #50263, things
+ should be fine now.
+
Sun Nov 3 13:03:29 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c configure.in: Remove check for
+Sun Nov 3 21:26:20 2002 Kristian Rietveld <kris@gtk.org>
+
+ Bah, and of course I broke something ...
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): fix
+ up the mess I caused with my commit of Oct 23 fixing #50263, things
+ should be fine now.
+
Sun Nov 3 13:03:29 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c configure.in: Remove check for
+Sun Nov 3 21:26:20 2002 Kristian Rietveld <kris@gtk.org>
+
+ Bah, and of course I broke something ...
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): fix
+ up the mess I caused with my commit of Oct 23 fixing #50263, things
+ should be fine now.
+
Sun Nov 3 13:03:29 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfilesel.c configure.in: Remove check for
GtkTreeIter iter;
guint inserted_id, deleted_id, reordered_id;
- gboolean stop = FALSE, has_next = FALSE, has_parent = FALSE;
+ gboolean stop = FALSE, has_next = TRUE, has_parent = TRUE;
g_return_if_fail (GTK_IS_TREE_SELECTION (selection));
g_return_if_fail (selection->tree_view != NULL);
gtk_tree_path_append_index (path, 0);
/* we do the sanity check at the bottom of this function */
- if (has_child)
+ if (!has_child)
goto out;
}
else
done = TRUE;
gtk_tree_path_next (path);
- /* Sanity Check! */
- TREE_VIEW_INTERNAL_ASSERT_VOID (has_next);
+ /* we do the sanity check at the bottom of this function */
+ if (!has_next)
+ goto out;
}
else
{
gtk_tree_path_up (path);
/* we do the sanity check at the bottom of this function */
- if (has_parent)
+ if (!has_parent)
goto out;
}
}
reordered_id);
/* check if we have to spew a scary message */
- if (has_next)
+ if (!has_next)
TREE_VIEW_INTERNAL_ASSERT_VOID (has_next);
- if (has_parent)
+ if (!has_parent)
TREE_VIEW_INTERNAL_ASSERT_VOID (has_parent);
if (stop)
g_warning