aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/application-service-appstore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 2121a0d..e734bdd 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -652,6 +652,7 @@ application_service_appstore_application_remove (ApplicationServiceAppstore * ap
ApplicationServiceAppstore *
application_service_appstore_new (AppLruFile * lrufile)
{
+ g_return_val_if_fail(IS_APP_LRU_FILE(lrufile), NULL);
ApplicationServiceAppstore * appstore = APPLICATION_SERVICE_APPSTORE(g_object_new(APPLICATION_SERVICE_APPSTORE_TYPE, NULL));
ApplicationServiceAppstorePrivate * priv = APPLICATION_SERVICE_APPSTORE_GET_PRIVATE(appstore);
priv->lrufile = lrufile;