Fixes glabels bug #
2981895. This is a work-around for glib bug #615379. For
objects with no private data, add a place-holder field so that the private
structure is not of zero length which causes g_new0() to crash in glib
2.24.0.
/*========================================================*/
struct _glViewBarcodePrivate {
+ int place_holder; /* Place holder for future private data. */
};
/*========================================================*/
/*========================================================*/
struct _glViewBoxPrivate {
+ int place_holder; /* Place holder for future private data. */
};
/*========================================================*/
/*========================================================*/
struct _glViewEllipsePrivate {
+ int place_holder; /* Place holder for future private data. */
};
/*========================================================*/
/*========================================================*/
struct _glViewImagePrivate {
+ int place_holder; /* Place holder for future private data. */
};
/*========================================================*/
/*========================================================*/
struct _glViewLinePrivate {
+ int place_holder; /* Place holder for future private data. */
};
/*========================================================*/
/*========================================================*/
struct _glViewTextPrivate {
+ int place_holder; /* Place holder for future private data. */
};
/*========================================================*/