Thank you, Armin
I propose not to call unreference on your own, but instead wait for a
glibmm release with the bug fixed. Or, if you really need this to work
correctly and you can't wait for a release, you could maybe do something
like:

Glib::RefPtr<Gio::FileInfo> info = enumerator->next_file();
if(G_OBJECT(info->gobj())->ref_count > 1) info->unreference();

Yes, I'll do that.
http://bugzilla.gnome.org/show_bug.cgi?id=556387
Thank you for your bug report, your sample code and your patch!

Regards,
Nicolas

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to