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

@ -9,11 +9,6 @@ struct _ExampleApp
GtkApplication parent;
};
struct _ExampleAppClass
{
GtkApplicationClass parent_class;
};
G_DEFINE_TYPE(ExampleApp, example_app, GTK_TYPE_APPLICATION);
static void