Re: Problem with references

2008-03-23 Thread Chris Vine
On Mon, 2008-03-17 at 10:16 +0100, Gabriele Greco wrote: [snip] Actually I cover only the widgets I use in this app. I'm not using gtkmm mostly to avoid extra dependencies. Anyway let's talk about the problem. Gtk owns all toplevel windows. It already does _ref_sink() on GtkWindows on

Re: Problem with references

2008-03-17 Thread Gabriele Greco
After some headache with my gtk C++ classes I've found with a small test program this fact about the gobject references: Sorry, not sure what you're trying to do. Are you trying to do something with gtkmm? Or are you creating your own bindings? I'm doing some experimental header only

Problem with references

2008-03-14 Thread Gabriele Greco
After some headache with my gtk C++ classes I've found with a small test program this fact about the gobject references: Window Creation: 1 Sink: 2 End: 1 Label Creation: 1 Sink: 1 End: 0 It seems that window derived widgets are created with a not floating reference, so they should be handled

Re: Problem with references

2008-03-14 Thread Brian J. Tarricone
On Fri, 14 Mar 2008 09:41:22 +0100 Gabriele Greco wrote: After some headache with my gtk C++ classes I've found with a small test program this fact about the gobject references: Sorry, not sure what you're trying to do. Are you trying to do something with gtkmm? Or are you creating your own