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

@@ -39,6 +39,7 @@ typedef struct {
GDBusInterfaceSkeletonClass parent_class;
} MockInterfaceClass;
static GType mock_interface_get_type (void);
G_DEFINE_TYPE (MockInterface, mock_interface, G_TYPE_DBUS_INTERFACE_SKELETON);
static void