diff options
Diffstat (limited to 'examples/application7/exampleappwin.h')
-rw-r--r-- | examples/application7/exampleappwin.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/application7/exampleappwin.h b/examples/application7/exampleappwin.h index ed4b34fcf5..786338d083 100644 --- a/examples/application7/exampleappwin.h +++ b/examples/application7/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); |