From f8faec4574fbc9651f369768da85d54ebadc5cbb Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Fri, 10 Nov 2000 19:38:53 +0000 Subject: use the new BOXED marshallers. Fri Nov 10 12:10:34 2000 Jonathan Blandford * 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. --- demos/gtk-demo/main.c | 2 +- demos/testgtk/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'demos') 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)); -- cgit v1.2.1