aboutsummaryrefslogtreecommitdiff
path: root/src/custom-service.c
blob: 2f8ecf5e7d033f8c8d871b07b878eb92dd9f9b7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#include "libindicator/indicator-service.h"
#include "notification-item-client.h"
#include "custom-service-appstore.h"

static GMainLoop * mainloop = NULL;
static CustomServiceAppstore * appstore = NULL;
static IndicatorService * service = NULL;
 
int
main (int argc, char ** argv)
{
	g_type_init();

	service = indicator_service_new("org.ayatana.indicator.custom");
	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;
}