Skip to content
Snippets Groups Projects
Commit 2fd0f631 authored by Julian Bouzas's avatar Julian Bouzas
Browse files

factory: don't use smart pointer when creating a factory

parent 92dc9d5c
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ wp_factory_class_init (WpFactoryClass * klass)
WpFactory *
wp_factory_new (WpCore * core, const gchar * name, WpFactoryFunc func)
{
g_autoptr (WpFactory) f = NULL;
WpFactory *f = NULL;
g_return_val_if_fail (name != NULL && *name != '\0', NULL);
g_return_val_if_fail (func != NULL, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment