/* * Copyright (C) 2010-2013 Jiri Techet * Copyright (C) 2019 Marcus Lundblad * Copyright (C) 2021 James Westman * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ #include #include "shumate-demo-window.h" static void activate (GtkApplication* app, gpointer user_data) { ShumateDemoWindow *window; window = shumate_demo_window_new (app); gtk_window_present (GTK_WINDOW (window)); } int main (int argc, char *argv[]) { g_autoptr(GtkApplication) app = NULL; app = gtk_application_new ("org.gnome.Shumate.Demo.Devel", G_APPLICATION_DEFAULT_FLAGS); g_signal_connect (app, "activate", G_CALLBACK (activate), NULL); return g_application_run (G_APPLICATION (app), argc, argv); }