gtype – Mark _get_instance_private() function as G_GNUC_UNUSED

clang likes to complain about it being unused.

https://bugzilla.gnome.org/show_bug.cgi?id=723899
This commit is contained in:
Sebastian Dröge 2014-02-09 23:08:21 +01:00 committed by Ryan Lortie
parent 1a736f5f51
commit 012011538f

View File

@ -1672,6 +1672,7 @@ static gint TypeName##_private_offset; \
\
_G_DEFINE_TYPE_EXTENDED_CLASS_INIT(TypeName, type_name) \
\
G_GNUC_UNUSED \
static inline gpointer \
type_name##_get_instance_private (TypeName *self) \
{ \