aboutsummaryrefslogtreecommitdiff
path: root/src/custom-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/custom-service.c')
-rw-r--r--src/custom-service.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/custom-service.c b/src/custom-service.c
index 382fd71..b191bac 100644
--- a/src/custom-service.c
+++ b/src/custom-service.c
@@ -1,10 +1,19 @@
#include "notification-item-client.h"
#include "custom-service-appstore.h"
+
+static GMainLoop * mainloop = NULL;
+static CustomServiceAppstore * appstore = NULL;
int
main (int argc, char ** argv)
{
+ g_type_init();
+
+ appstore = CUSTOM_SERVICE_APPSTORE(g_object_new(CUSTOM_SERVICE_APPSTORE_TYPE, NULL));
+
+ mainloop = g_main_loop_new(NULL, FALSE);
+ g_main_loop_run(mainloop);
return 0;
}