#include <gio/gio.h>

static void activate(GApplication *app)
{
	g_print("activated\n");
}

int main(int argc, char *argv[])
{
	GApplication *app;
	int status;

	app = g_application_new("com.example.glib-test.hello",
				G_APPLICATION_FLAGS_NONE);
	g_signal_connect(app, "activate", G_CALLBACK(activate), NULL);
	status = g_application_run(app, argc, argv);

	g_object_unref(app);

	return status;
}
