Skip to content
Commit 1c5eb0a9 authored by Kjell Ahlstedt's avatar Kjell Ahlstedt
Browse files

Gio::ListModel::get_object(): Don't try to cast to Glib::Object

Gio::ListModel::get_object() returns Glib::RefPtr<Glib::ObjectBase>.
Don't try to dynamic_cast it to Glib::Object. It would fail if the object
has been constructed as an interface, and e.g. has a Gio::File wrapper.
Fixes #93
parent 9d978d59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment