summaryrefslogtreecommitdiff
path: root/examples/application6/exampleappprefs.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/application6/exampleappprefs.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/application6/exampleappprefs.c')
-rw-r--r--examples/application6/exampleappprefs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/application6/exampleappprefs.c b/examples/application6/exampleappprefs.c
index 6a033817bd..9b3cc33586 100644
--- a/examples/application6/exampleappprefs.c
+++ b/examples/application6/exampleappprefs.c
@@ -9,11 +9,6 @@ struct _ExampleAppPrefs
GtkDialog parent;
};
-struct _ExampleAppPrefsClass
-{
- GtkDialogClass parent_class;
-};
-
typedef struct _ExampleAppPrefsPrivate ExampleAppPrefsPrivate;
struct _ExampleAppPrefsPrivate