Re: all about gobject references
- From: Tadej Borovšak <tadeboro gmail com>
- To: Siddu <siddu sjce gmail com>
- Cc: gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: Re: all about gobject references
- Date: Sat, 22 Aug 2009 14:21:22 +0200
Hi.
> but still after reading thoroughly i am unable to figure out why the
> ref_count would be "4" for gtk_window_new() call ?
After gtk_window_new call, refcount is 1. Additional references are
added by callback mechanism. (Try adding print statement right after
the creation and you'll see.)
Tadej
--
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]