61012: GtkTreeView segfaults on listsort with 0 nodes
- From: Detlef Reichl <detlef reichl arcormail de>
- To: GTK-devel <gtk-devel-list gnome org>
- Subject: 61012: GtkTreeView segfaults on listsort with 0 nodes
- Date: 23 Sep 2001 20:01:30 +0200
hi
If the tree view has 0 rows a click on the column header for sorting
will give a segfault.
here is a patch:
--- gtktreestore2.c Sun Sep 23 19:33:52 2001
+++ gtktreestore.c Fri Sep 21 22:51:53 2001
@@ -1658,8 +1658,6 @@
GtkTreePath *path;
node = parent->children;
- if (node == NULL)
- return;
if (node->next == NULL)
return;
please commit this.
have a nice day
detlef
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]