aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-28 15:55:28 -0500
committerTed Gould <ted@canonical.com>2009-10-28 15:55:28 -0500
commitf2c4a15e281e697bd6222efe80432014f0cef32f (patch)
tree7f071df2da9c2813b9c13da405603de36f667afb /src
parent714f372137fb2a9a992a6d0c23dc12a58b34c43d (diff)
downloadayatana-indicator-application-f2c4a15e281e697bd6222efe80432014f0cef32f.tar.gz
ayatana-indicator-application-f2c4a15e281e697bd6222efe80432014f0cef32f.tar.bz2
ayatana-indicator-application-f2c4a15e281e697bd6222efe80432014f0cef32f.zip
Building our app store
Diffstat (limited to 'src')
-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;
}