diff options
author | Jonathan Blandford <jrb@src.gnome.org> | 2001-08-19 06:58:11 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-08-19 06:58:11 +0000 |
commit | 112eb9b2e52a139c842588ed45baa38faf1e7fb3 (patch) | |
tree | 410731bf8362a945a034a2041e8039df0e18733b /tests/treestoretest.c | |
parent | 6ffd507deabb9e5b4445c8ff1e99910716d9cad0 (diff) | |
download | gtk+-112eb9b2e52a139c842588ed45baa38faf1e7fb3.tar.gz |
Sun Aug 19 01:44:44 2001 Jonathan Blandford <jrb@redhat.com>>
* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_pack_{start,end}_cell_renderer): sink cell.
* gtk/gtktreeview.c (gtk_tree_view_insert_column): sink column.
(_gtk_tree_view_find_node): If *node is NULL,
*tree should be NULL too.
* demos/gtk-demo/stock_browser.c (do_stock_browser): don't unref
column/renderers.
* tests/testtreecolumns.c: ditto
* tests/testtreefocus.c: ditto
* tests/testtreesort.c: ditto
* tests/testtreeview.c: ditto
* tests/treestoretest.c: ditto
Diffstat (limited to 'tests/treestoretest.c')
-rw-r--r-- | tests/treestoretest.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/treestoretest.c b/tests/treestoretest.c index e930593100..5f3b63ba06 100644 --- a/tests/treestoretest.c +++ b/tests/treestoretest.c @@ -311,15 +311,11 @@ make_window (gint view_type) column = gtk_tree_view_column_new_with_attributes ("Node ID", cell, "markup", 0, NULL); gtk_tree_view_column_set_sort_column_id (column, 0); gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view), column); - g_object_unref (G_OBJECT (cell)); - g_object_unref (G_OBJECT (column)); cell = gtk_cell_renderer_text_new (); column = gtk_tree_view_column_new_with_attributes ("Random Number", cell, "text", 1, NULL); gtk_tree_view_column_set_sort_column_id (column, 1); gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view), column); - g_object_unref (G_OBJECT (cell)); - g_object_unref (G_OBJECT (column)); /* A few to start */ if (view_type == 0) |