Skip to content
Snippets Groups Projects
Commit b0883b98 authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

No need to guard finalize invocations

It's guaranteed to exist.
parent 896d829d
No related branches found
No related tags found
1 merge request!57Cleanups around finalize and object destruction
......@@ -139,8 +139,7 @@ phosh_auth_finalize (GObject *object)
priv->pamh = NULL;
}
if (parent_class->finalize != NULL)
parent_class->finalize (object);
parent_class->finalize (object);
}
......
......@@ -198,8 +198,7 @@ phosh_background_finalize (GObject *object)
g_object_unref (priv->pixbuf);
if (parent_class->finalize != NULL)
parent_class->finalize (object);
parent_class->finalize (object);
}
......
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