Mercurial > dwindows
diff gtk/dw.c @ 143:1d57c27e4adc
Moved _dw_recursive_free into GTK 2.0 #ifdefs.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 22 Oct 2002 10:08:28 +0000 |
parents | 9560efb7bea2 |
children | c68bc269ed58 |
line wrap: on
line diff
--- a/gtk/dw.c Tue Oct 22 10:05:51 2002 +0000 +++ b/gtk/dw.c Tue Oct 22 10:08:28 2002 +0000 @@ -3633,6 +3633,7 @@ #endif } +#if GTK_MAJOR_VERSION > 1 void _dw_recursive_free(GtkTreeModel *store, GtkTreeIter parent) { void *data; @@ -3650,6 +3651,7 @@ } while(gtk_tree_model_iter_next(GTK_TREE_MODEL(store), &iter)); } } +#endif /* * Removes all nodes from a tree.