summaryrefslogtreecommitdiff
path: root/examples/application9/exampleapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/application9/exampleapp.h')
-rw-r--r--examples/application9/exampleapp.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/application9/exampleapp.h b/examples/application9/exampleapp.h
index 824049d699..51093791a3 100644
--- a/examples/application9/exampleapp.h
+++ b/examples/application9/exampleapp.h
@@ -5,14 +5,9 @@
#define EXAMPLE_APP_TYPE (example_app_get_type ())
-#define EXAMPLE_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXAMPLE_APP_TYPE, ExampleApp))
+G_DECLARE_FINAL_TYPE (ExampleApp, example_app, EXAMPLE, APP, GtkApplication)
-typedef struct _ExampleApp ExampleApp;
-typedef struct _ExampleAppClass ExampleAppClass;
-
-
-GType example_app_get_type (void);
ExampleApp *example_app_new (void);