Skip to content
Snippets Groups Projects
Commit 4681b733 authored by Simon McVittie's avatar Simon McVittie
Browse files

locale: Use G_DEFINE_QUARK


We have a backport of this, so we can use it even in older GLib.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent e4fcdcf6
No related branches found
No related tags found
1 merge request!172Detect runtime linker (ld.so)
......@@ -49,11 +49,7 @@
* g_object_unref() to manage its lifecycle.
*/
GQuark
srt_locale_error_quark (void)
{
return g_quark_from_static_string ("srt-locale-error-quark");
}
G_DEFINE_QUARK (srt-locale-error-quark, srt_locale_error)
struct _SrtLocale
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment