Add another example application

This new step sets the headerbar as titlebar, and enables
fallback for the app menu.
This commit is contained in:
Matthias Clasen
2013-11-16 16:09:56 -05:00
parent 07d71cf945
commit 7265d9d9ad
16 changed files with 933 additions and 1 deletions

View File

@ -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);
}