summaryrefslogtreecommitdiff
path: root/examples/application3/exampleapp.c
diff options
context:
space:
mode:
authorMohammed Sadiq <sadiq@sadiqpk.org>2016-09-06 23:26:22 +0530
committerMatthias Clasen <mclasen@redhat.com>2016-09-10 09:01:08 -0400
commit22ae9d0884fffb61ee826ec450e8d62ad1cdb957 (patch)
tree079de6f4aabf11fe90a4b159fd486dfbc234ba95 /examples/application3/exampleapp.c
parentd817d525e6bbc4a5abeb304f037d30a29c6c76b4 (diff)
downloadgtk+-22ae9d0884fffb61ee826ec450e8d62ad1cdb957.tar.gz
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
Diffstat (limited to 'examples/application3/exampleapp.c')
-rw-r--r--examples/application3/exampleapp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/application3/exampleapp.c b/examples/application3/exampleapp.c
index 6c4c5ed3cc..565bc35c75 100644
--- a/examples/application3/exampleapp.c
+++ b/examples/application3/exampleapp.c
@@ -8,11 +8,6 @@ struct _ExampleApp
GtkApplication parent;
};
-struct _ExampleAppClass
-{
- GtkApplicationClass parent_class;
-};
-
G_DEFINE_TYPE(ExampleApp, example_app, GTK_TYPE_APPLICATION);
static void