summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/gnome2mmapp/main_window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/gnome2mmapp/main_window.cpp')
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/main_window.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window.cpp b/languages/cpp/app_templates/gnome2mmapp/main_window.cpp
new file mode 100644
index 00000000..152a660c
--- /dev/null
+++ b/languages/cpp/app_templates/gnome2mmapp/main_window.cpp
@@ -0,0 +1,14 @@
+%{CC_TEMPLATE}
+
+// This file is for your program, I won't touch it again!
+
+#include "config.h"
+#include "main_window.h"
+
+#include <gtk--/main.h>
+
+gint main_window::quit(GdkEventAny *ev)
+{
+ Gtk::Main::quit();
+}
+