]> git.sur5r.net Git - glabels/commit
Add place-holder field to all empty private structures
authorJim Evins <evins@snaught.com>
Sun, 11 Apr 2010 04:05:30 +0000 (00:05 -0400)
committerJim Evins <evins@snaught.com>
Sun, 11 Apr 2010 04:11:39 +0000 (00:11 -0400)
commit333e792ab9daa4cb6fba8f19d360ca27d69ebff0
tree9118932a43953a0e2396cea00087952d27a6f8c9
parenta3275186debbf0f4addf574bf02b789bcf3776ba
Add place-holder field to all empty private structures

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.
src/view-barcode.c
src/view-box.c
src/view-ellipse.c
src/view-image.c
src/view-line.c
src/view-text.c