Commit 5f6991e4 authored by Christian Hergert's avatar Christian Hergert

fix cast with modern gobject

parent fe76f3bf
...@@ -849,7 +849,7 @@ girst_class_get_parents (GirstClass *klass) ...@@ -849,7 +849,7 @@ girst_class_get_parents (GirstClass *klass)
g_return_val_if_fail (GIRST_IS_CLASS (klass), NULL); g_return_val_if_fail (GIRST_IS_CLASS (klass), NULL);
if ((store = g_object_get_data (G_OBJECT (klass), "PARENTS"))) if ((store = g_object_get_data (G_OBJECT (klass), "PARENTS")))
return g_object_ref (store); return g_object_ref (G_LIST_MODEL (store));
store = g_list_store_new (GIRST_TYPE_CLASS); store = g_list_store_new (GIRST_TYPE_CLASS);
Markdown is supported
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