summaryrefslogtreecommitdiffstats
path: root/Tests/FindGTK2/gtk/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindGTK2/gtk/main.c')
-rw-r--r--Tests/FindGTK2/gtk/main.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/FindGTK2/gtk/main.c b/Tests/FindGTK2/gtk/main.c
new file mode 100644
index 0000000..309c328
--- /dev/null
+++ b/Tests/FindGTK2/gtk/main.c
@@ -0,0 +1,15 @@
+#include <gtk/gtk.h>
+
+int main(int argc, char *argv[])
+{
+ GtkWidget *window;
+
+ gtk_init (&argc, &argv);
+
+ window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ gtk_widget_show (window);
+
+ gtk_main ();
+
+ return 0;
+}