diff options
author | Jonathan Blandford <jrb@redhat.com> | 2000-11-10 19:38:53 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2000-11-10 19:38:53 +0000 |
commit | f8faec4574fbc9651f369768da85d54ebadc5cbb (patch) | |
tree | 806c3c1b7997cf92038d470674a4a1d5af5a60d3 /demos | |
parent | c97d57ebb8ceae99ed77fc6d953470e01d74310a (diff) | |
download | gtk+-f8faec4574fbc9651f369768da85d54ebadc5cbb.tar.gz |
use the new BOXED marshallers.
Fri Nov 10 12:10:34 2000 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkliststore.c (gtk_model_simple_class_init): use the new
BOXED marshallers.
* gtk/gtkliststore.c (gtk_list_store_get_column_type): Add this.
(gtk_list_store_class_init): use the new BOXED marshallers.
* gtk/gtktreestore.c (gtk_tree_store_new_with_types): change
new_with_values to new_with_types.
(gtk_tree_store_get_column_type): add this.
(gtk_tree_store_class_init): use the new BOXED marshallers.
* gtk/gtkmarshal.list: Added a number of BOXED marshallers to
mirror some POINTER marshallers.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/main.c | 2 | ||||
-rw-r--r-- | demos/testgtk/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c index baa906d0ac..56a094ecae 100644 --- a/demos/gtk-demo/main.c +++ b/demos/gtk-demo/main.c @@ -299,7 +299,7 @@ create_tree (void) GtkTreeIter iter; gint i; - model = gtk_tree_store_new_with_values (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN); + model = gtk_tree_store_new_with_types (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN); tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model)); selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view)); diff --git a/demos/testgtk/main.c b/demos/testgtk/main.c index baa906d0ac..56a094ecae 100644 --- a/demos/testgtk/main.c +++ b/demos/testgtk/main.c @@ -299,7 +299,7 @@ create_tree (void) GtkTreeIter iter; gint i; - model = gtk_tree_store_new_with_values (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN); + model = gtk_tree_store_new_with_types (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN); tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model)); selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view)); |