summaryrefslogtreecommitdiff
path: root/examples/application7/main.c
blob: ad5b022b3f06ff7f701d89e6d3675e005d3bc3cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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);
}