Commit 1f9ab173 authored by Emmanuele Bassi's avatar Emmanuele Bassi

Cast the g_object_ref() return value

GObject started performing type checks on generic gpointer API to avoid
hard to chase bugs.
parent c9c7397b
......@@ -195,7 +195,7 @@ on_key_press_event (ClutterStage *stage,
/* the data structure holding all our objects */
data = test_thread_data_new ();
data->stage = g_object_ref (stage);
data->stage = (ClutterActor *) g_object_ref (stage);
data->label = g_object_ref (count_label);
data->progress = g_object_ref (progress_rect);
data->rect = g_object_ref (rect);
......
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