GNOME Bugzilla – Bug 614501
RefPtr from Gdk::Window::create() misses one reference count.
Last modified: 2010-04-07 13:03:05 UTC
This is related to this bug->https://bugzilla.gnome.org/show_bug.cgi?id=606903 It is a regression from the glibmm version included in Ubuntu 9.04(sorry can't remember the version). This regression is present in the version included in Ubuntu 10.04 beta1. All the info are in the bug above.
We use gdk_window_new() http://library.gnome.org/devel/gdk/stable/gdk-Windows.html#gdk-window-new Why do you think we need to take an extra reference count? It's extremely unlikely that anything about Gdk::Window has changed recently. I think we need a small test case to show the problem.
Well upping the count made the warning dissapear. But maybe the underlying object wasn't destroyed yet because of that!?!?!? Dunno, feel free to close the bug if you think I misinterpreted stuff...
I can't see any problem with this function, though I haven't solved the other bug yet.