diff --git a/glib/gmessages.h b/glib/gmessages.h index 7471e4e45..5cbdad766 100644 --- a/glib/gmessages.h +++ b/glib/gmessages.h @@ -152,12 +152,13 @@ typedef enum * * Since: 2.50 */ -typedef struct +typedef struct _GLogField GLogField; +struct _GLogField { const gchar *key; gconstpointer value; gssize length; -} GLogField; +}; /** * GLogWriterFunc: