fails to compile against glib 2.57.2+ (deprecated g_type_class_add_private)
It looks like a function that's used at three points in the code has been deprecated by glib 2.57.2:
signon-auth-service.c: In function 'signon_auth_service_class_init':
signon-auth-service.c:130:5: error: 'g_type_class_add_private' is deprecated [-Werror=deprecated-declarations]
g_type_class_add_private (object_class, sizeof (SignonAuthServicePrivate));
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from signon-auth-service.h:30,
from signon-auth-service.c:37:
/usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
void g_type_class_add_private (gpointer g_class,
^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:678: libgsignon_glib_la-signon-auth-service.lo] Error 1
signon-auth-session.c: In function 'signon_auth_session_class_init':
signon-auth-session.c:364:5: error: 'g_type_class_add_private' is deprecated [-Werror=deprecated-declarations]
g_type_class_add_private (object_class, sizeof (SignonAuthSessionPrivate));
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from signon-security-context.h:29,
from signon-internals.h:31,
from signon-auth-session.c:39:
/usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
void g_type_class_add_private (gpointer g_class,
^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:706: libgsignon_glib_la-signon-auth-session.lo] Error 1
signon-identity.c: In function 'signon_identity_class_init':
signon-identity.c:453:5: error: 'g_type_class_add_private' is deprecated [-Werror=deprecated-declarations]
g_type_class_add_private (object_class, sizeof (SignonIdentityPrivate));
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from ../libgsignon-glib/signon-auth-session.h:31,
from signon-identity.h:30,
from signon-identity.c:127:
/usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
void g_type_class_add_private (gpointer g_class,
^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:692: libgsignon_glib_la-signon-identity.lo] Error 1