mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
22ae9d0884
G_DECLARE_FINAL_TYPE was introduced in glib 2.44. We shall use that now so that lots of boilerplate code can be reduced. https://bugzilla.gnome.org/show_bug.cgi?id=770278
17 lines
539 B
C
17 lines
539 B
C
#ifndef __EXAMPLEAPPWIN_H
|
|
#define __EXAMPLEAPPWIN_H
|
|
|
|
#include <gtk/gtk.h>
|
|
#include "exampleapp.h"
|
|
|
|
|
|
#define EXAMPLE_APP_WINDOW_TYPE (example_app_window_get_type ())
|
|
G_DECLARE_FINAL_TYPE (ExampleAppWindow, example_app_window, EXAMPLE, APP_WINDOW, GtkApplicationWindow)
|
|
|
|
ExampleAppWindow *example_app_window_new (ExampleApp *app);
|
|
void example_app_window_open (ExampleAppWindow *win,
|
|
GFile *file);
|
|
|
|
|
|
#endif /* __EXAMPLEAPPWIN_H */
|