diff options
Diffstat (limited to 'examples/application8/main.c')
-rw-r--r-- | examples/application8/main.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/application8/main.c b/examples/application8/main.c new file mode 100644 index 0000000000..7ce327aa0b --- /dev/null +++ b/examples/application8/main.c @@ -0,0 +1,15 @@ +#include <gtk/gtk.h> +#include <exampleapp.h> + +int +main (int argc, char *argv[]) +{ + /* Since this example is running uninstalled, + * we have to help it find its schema. This + * is *not* necessary in properly installed + * application. + */ + g_setenv ("GSETTINGS_SCHEMA_DIR", ".", FALSE); + + return g_application_run (G_APPLICATION (example_app_new ()), argc, argv); +} |