Re: non-obvious GtkTreeView API change
- From: Tim Janik <timj gtk org>
- To: Jonathan Blandford <jrb redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: non-obvious GtkTreeView API change
- Date: Mon, 20 Aug 2001 14:10:30 +0200 (CEST)
On 19 Aug 2001, Jonathan Blandford wrote:
> Just so people know, I changed GtkTreeView and GtkTreeViewColumn to
> ref/sink cells and columns. This means that code that formerly did:
thanks.
> 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.
s/Can/Must/ ;)
>
> Thanks,
> -Jonathan
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]