summaryrefslogtreecommitdiff
path: root/examples/application1/exampleappwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/application1/exampleappwin.c')
-rw-r--r--examples/application1/exampleappwin.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/examples/application1/exampleappwin.c b/examples/application1/exampleappwin.c
new file mode 100644
index 0000000000..9fc326acf0
--- /dev/null
+++ b/examples/application1/exampleappwin.c
@@ -0,0 +1,35 @@
+#include "exampleapp.h"
+#include "exampleappwin.h"
+#include <gtk/gtk.h>
+
+struct ExampleAppWindow {
+ GtkApplicationWindow parent;
+};
+
+struct ExampleAppWindowClass {
+ GtkApplicationWindowClass parent_class;
+};
+
+G_DEFINE_TYPE(ExampleAppWindow, example_app_window, GTK_TYPE_APPLICATION_WINDOW);
+
+static void
+example_app_window_init (ExampleAppWindow *app)
+{
+}
+
+static void
+example_app_window_class_init (ExampleAppWindowClass *class)
+{
+}
+
+ExampleAppWindow *
+example_app_window_new (ExampleApp *app)
+{
+ return g_object_new (EXAMPLE_APP_WINDOW_TYPE, "application", app, NULL);
+}
+
+void
+example_app_window_open (ExampleAppWindow *win,
+ GFile *file)
+{
+}