mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-05 17:03:40 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user