1#include <gtk/gtk.h>
2
3#include "exampleapp.h"
4
5int
6main (int argc, char *argv[])
7{
8 /* Since this example is running uninstalled,
9 * we have to help it find its schema. This
10 * is *not* necessary in properly installed
11 * application.
12 */
13 g_setenv (variable: "GSETTINGS_SCHEMA_DIR", value: ".", FALSE);
14
15 return g_application_run (G_APPLICATION (example_app_new ()), argc, argv);
16}
17

source code of gtk/examples/application5/main.c