summaryrefslogtreecommitdiff
path: root/examples/application6/exampleappwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/application6/exampleappwin.h')
-rw-r--r--examples/application6/exampleappwin.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/application6/exampleappwin.h b/examples/application6/exampleappwin.h
index 11ff3c27a7..786338d083 100644
--- a/examples/application6/exampleappwin.h
+++ b/examples/application6/exampleappwin.h
@@ -6,14 +6,9 @@
#define EXAMPLE_APP_WINDOW_TYPE (example_app_window_get_type ())
-#define EXAMPLE_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXAMPLE_APP_WINDOW_TYPE, ExampleAppWindow))
+G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, GtkApplicationWindow)
-typedef struct ExampleAppWindow ExampleAppWindow;
-typedef struct ExampleAppWindowClass ExampleAppWindowClass;
-
-
-GType example_app_window_get_type (void);
ExampleAppWindow *example_app_window_new (ExampleApp *app);
void example_app_window_open (ExampleAppWindow *win,
GFile *file);