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/testtreecolumns.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/testtreecolumns.c')
-rw-r--r-- | tests/testtreecolumns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtreecolumns.c b/tests/testtreecolumns.c index ebfd6452d2..603ce8a610 100644 --- a/tests/testtreecolumns.c +++ b/tests/testtreecolumns.c @@ -607,7 +607,7 @@ main (int argc, char *argv[]) g_signal_connect (G_OBJECT (cell), "toggled", (GCallback) set_visible, left_tree_view); column = gtk_tree_view_column_new_with_attributes ("Visible", cell, NULL); gtk_tree_view_append_column (GTK_TREE_VIEW (left_tree_view), column); - g_object_unref (G_OBJECT (column)); + gtk_tree_view_column_set_cell_data_func (column, cell, get_visible, NULL, NULL); gtk_box_pack_start (GTK_BOX (hbox), swindow, TRUE, TRUE, 0); |