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