Tiny ctree bug
- From: Damon Chaplin <damon karuna freeserve co uk>
- To: Gtk Developers List <gtk-devel-list redhat com>
- Subject: Tiny ctree bug
- Date: Fri, 03 Sep 1999 15:54:16 +0100
I occasionally get this warning from GtkCTree (GTK+ 1.2.3):
Gtk-CRITICAL **: file gtkctree.c: line 4044 (gtk_ctree_is_viewable): assertion `node != NULL' failed.
The problem is this code in real_tree_move():
if (gtk_ctree_is_viewable (ctree, node) ||
gtk_ctree_is_viewable (ctree, new_sibling))
When new_sibling is NULL (which is valid), this outputs the warning.
Maybe it should be:
if (gtk_ctree_is_viewable (ctree, node) ||
(new_sibling && gtk_ctree_is_viewable (ctree, new_sibling)))
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]