gststructure: Set lcopy string const exactly as glib's macro

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679534
This commit is contained in:
Sebastian Rasmussen 2012-07-06 20:37:06 +02:00 committed by Tim-Philipp Müller
parent 408df31a48
commit aab5b579a8

View file

@ -2735,7 +2735,7 @@ G_STMT_START { \
guint _flags = (flags); \
GType _value_type = G_VALUE_TYPE (_value); \
GTypeValueTable *_vtable = g_type_value_table_peek (_value_type); \
gchar *_lcopy_format = _vtable->lcopy_format; \
const gchar *_lcopy_format = _vtable->lcopy_format; \
GTypeCValue _cvalues[G_VALUE_COLLECT_FORMAT_MAX_LENGTH] = { { 0, }, }; \
guint _n_values = 0; \
\