diff options
author | Ted Gould <ted@canonical.com> | 2009-10-28 15:55:28 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-28 15:55:28 -0500 |
commit | f2c4a15e281e697bd6222efe80432014f0cef32f (patch) | |
tree | 7f071df2da9c2813b9c13da405603de36f667afb | |
parent | 714f372137fb2a9a992a6d0c23dc12a58b34c43d (diff) | |
download | libayatana-appindicator-f2c4a15e281e697bd6222efe80432014f0cef32f.tar.gz libayatana-appindicator-f2c4a15e281e697bd6222efe80432014f0cef32f.tar.bz2 libayatana-appindicator-f2c4a15e281e697bd6222efe80432014f0cef32f.zip |
Building our app store
-rw-r--r-- | src/custom-service.c | 9 |
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; } |