aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree-example-1.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-08-23 09:48:20 +0800
committerChris Toshok <toshok@src.gnome.org>2000-08-23 09:48:20 +0800
commit049c61546b2ec5910b85f8dc059aba5f0b0fcada (patch)
tree4d3c5153012009a645a4e35ccfd82219c3d1b0d1 /widgets/table/e-tree-example-1.c
parent1e5ae349da6db9a0af7714037e23ee599f60c068 (diff)
downloadgsoc2013-evolution-049c61546b2ec5910b85f8dc059aba5f0b0fcada.tar
gsoc2013-evolution-049c61546b2ec5910b85f8dc059aba5f0b0fcada.tar.gz
gsoc2013-evolution-049c61546b2ec5910b85f8dc059aba5f0b0fcada.tar.bz2
gsoc2013-evolution-049c61546b2ec5910b85f8dc059aba5f0b0fcada.tar.lz
gsoc2013-evolution-049c61546b2ec5910b85f8dc059aba5f0b0fcada.tar.xz
gsoc2013-evolution-049c61546b2ec5910b85f8dc059aba5f0b0fcada.tar.zst
gsoc2013-evolution-049c61546b2ec5910b85f8dc059aba5f0b0fcada.zip
remove tree-expanded.xpm and tree-unexpanded.xpm.
2000-08-22 Chris Toshok <toshok@helixcode.com> * Makefile.am (icons): remove tree-expanded.xpm and tree-unexpanded.xpm. * e-tree-example-1.c: use art/tree-expanded.xpm and art/tree-unexpanded.xpm. (remove_node): commit the change listed below (08-21). * tree-expanded.xpm: removed. * tree-unexpanded.xpm: removed. svn path=/trunk/; revision=4975
Diffstat (limited to 'widgets/table/e-tree-example-1.c')
-rw-r--r--widgets/table/e-tree-example-1.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/widgets/table/e-tree-example-1.c b/widgets/table/e-tree-example-1.c
index 308f462f64..3762dc6b39 100644
--- a/widgets/table/e-tree-example-1.c
+++ b/widgets/table/e-tree-example-1.c
@@ -17,8 +17,8 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include "tree-expanded.xpm"
-#include "tree-unexpanded.xpm"
+#include "art/tree-expanded.xpm"
+#include "art/tree-unexpanded.xpm"
GdkPixbuf *tree_expanded_pixbuf;
GdkPixbuf *tree_unexpanded_pixbuf;
@@ -177,9 +177,6 @@ remove_node (GtkButton *button, gpointer data)
selected_node = e_tree_model_node_at_row (e_tree_model, selected_row);
g_assert (selected_node);
- if (e_tree_model_node_get_children (e_tree_model, selected_node, NULL) > 0)
- return;
-
str = (char*)e_tree_model_node_remove (e_tree_model, selected_node);
printf ("removed node %s\n", str);
g_free (str);