build: Prototype GType accessors for private classes

Otherwise we fail to build with -Werror=missing-prototypes.

https://bugzilla.gnome.org/show_bug.cgi?id=687385
This commit is contained in:
Colin Walters
2012-11-01 19:36:15 -04:00
parent 6d88a2f822
commit 84475e4320
8 changed files with 16 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ struct _GTestClass
GObjectClass parent_class;
};
static GType my_test_get_type (void);
G_DEFINE_TYPE (GTest, my_test, G_TYPE_OBJECT);
static volatile gboolean stopping;