GNOME Bugzilla – Bug 646460
Weirdness in gtkfilechooserbutton.c: set_info_get_info_cb
Last modified: 2011-04-01 22:44:15 UTC
In the "out" path of this function, we have g_object_unref (cancellable); I think this is wrong because the object that is reffed (by gtk_tree_model_get) is model_cancellable. If they are different, the ship sinks, I believe.
Ditto in model_add_special_get_info_cb.
Created attachment 184913 [details] [review] [filechooser] Unref cancellables we got from the model, not the ones that come into the callback The model_cancellables have an extra ref when we get them from gtk_tree_model_get(). So, we need to unref them always. On the other hand, the cancellables that get passed as arguments to the callbacks in question are memory-managed by GtkFileSystemModel. Reported by Morten Welinder <mortenw@gnome.org>
Pushed to master.