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
tadeb...@gmail.com
tadej.borov...@gmail.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to