examples: use G_DECLARE_FINAL_TYPE in applications

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
This commit is contained in:
Mohammed Sadiq
2016-09-06 23:26:22 +05:30
committed by Matthias Clasen
parent d817d525e6
commit 22ae9d0884
50 changed files with 27 additions and 279 deletions

View File

@ -8,11 +8,6 @@ struct _ExampleAppWindow
GtkApplicationWindow parent;
};
struct _ExampleAppWindowClass
{
GtkApplicationWindowClass parent_class;
};
typedef struct _ExampleAppWindowPrivate ExampleAppWindowPrivate;
struct _ExampleAppWindowPrivate