[cells-gtk-cvs] CVS update: root/gtk-ffi/gtk-adds.c

Peter Denno pdenno at common-lisp.net
Sun May 29 21:16:56 UTC 2005


Update of /project/cells-gtk/cvsroot/root/gtk-ffi
In directory common-lisp.net:/tmp/cvs-serv9019/gtk-ffi

Modified Files:
	gtk-adds.c 
Log Message:
New function gtk_adds_tree_iter_new  , used by TreeModel-type ComboBoxes
Date: Sun May 29 23:16:56 2005
Author: pdenno

Index: root/gtk-ffi/gtk-adds.c
diff -u root/gtk-ffi/gtk-adds.c:1.2 root/gtk-ffi/gtk-adds.c:1.3
--- root/gtk-ffi/gtk-adds.c:1.2	Sun Mar  6 18:04:02 2005
+++ root/gtk-ffi/gtk-adds.c	Sun May 29 23:16:56 2005
@@ -30,3 +30,13 @@
   return gtk_text_iter_copy(&example);
 }
 
+/* C programmers allocate iters on the stack. We use this.
+   Free it with gtk-tree-iter-free */
+GtkTreeIter *
+gtk_adds_tree_iter_new ()
+{
+  GtkTreeIter example;
+  return gtk_tree_iter_copy(&example);
+}
+
+




More information about the Cells-gtk-cvs mailing list