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.
This commit is contained in:

committed by
Jonathan Blandford

parent
c97d57ebb8
commit
f8faec4574
@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user