gtk2/examples/application6/main.c

16 lines
375 B
C
Raw Normal View History

#include <gtk/gtk.h>
#include <exampleapp.h>
int
main (int argc, char *argv[])
{
2014-04-17 18:27:11 +00:00
/* 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);
2014-04-17 18:27:11 +00:00
return g_application_run (G_APPLICATION (example_app_new ()), argc, argv);
}