blob: 67b80d618185b019086664fd1d2d1beb4a00177e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
* Copyright (C) 2014 Richard Hughes <richard@hughsie.com>
* Licensed under the GNU Lesser General Public License Version 2.1 */
#include <gtk/gtk.h>
int
main (int argc, char *argv[])
{
GtkApplication *app;
gtk_init (&argc, &argv);
app = gtk_application_new ("org.freedesktop.AppStream", G_APPLICATION_FLAGS_NONE);
gtk_application_get_menu_by_id (app, "not-going-to-exist");
g_object_unref (app);
return 0;
}
|