non-obvious GtkTreeView API change
- From: Jonathan Blandford <jrb redhat com>
- To: gtk-devel-list gnome org
- Subject: non-obvious GtkTreeView API change
- Date: 19 Aug 2001 14:38:57 -0400
Just so people know, I changed GtkTreeView and GtkTreeViewColumn to
ref/sink cells and columns. This means that code that formerly did:
renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("title", renderer, NULL);
gtk_tree_view_append_column (tree_view, column);
g_object_unref (renderer);
g_object_unref (column);
Can now lose the two unref steps.
Thanks,
-Jonathan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]