deprecated: Cast g_object_ref() to the right type
In GLib 2.56, g_object_ref() will check that you're assigning the return value to a variable of the same type you're passing in.
This commit is contained in:
parent
c229716796
commit
855e4cb88e
@ -740,7 +740,7 @@ gtk_ui_manager_buildable_construct_child (GtkBuildable *buildable,
|
||||
g_signal_connect (widget, "hierarchy-changed",
|
||||
G_CALLBACK (child_hierarchy_changed_cb),
|
||||
GTK_UI_MANAGER (buildable));
|
||||
return g_object_ref (widget);
|
||||
return G_OBJECT (g_object_ref (widget));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user