summaryrefslogtreecommitdiff
path: root/examples/application8/exampleappprefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/application8/exampleappprefs.h')
-rw-r--r--examples/application8/exampleappprefs.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/application8/exampleappprefs.h b/examples/application8/exampleappprefs.h
index c684889adf..2f08819ffb 100644
--- a/examples/application8/exampleappprefs.h
+++ b/examples/application8/exampleappprefs.h
@@ -6,14 +6,9 @@
#define EXAMPLE_APP_PREFS_TYPE (example_app_prefs_get_type ())
-#define EXAMPLE_APP_PREFS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EXAMPLE_APP_PREFS_TYPE, ExampleAppPrefs))
+G_DECLARE_FINAL_TYPE (ExampleAppPrefs, example_app_prefs, EXAMPLE, APP_PREFS, GtkDialog)
-typedef struct _ExampleAppPrefs ExampleAppPrefs;
-typedef struct _ExampleAppPrefsClass ExampleAppPrefsClass;
-
-
-GType example_app_prefs_get_type (void);
ExampleAppPrefs *example_app_prefs_new (ExampleAppWindow *win);