aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/templates
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-09-05 02:41:39 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-09-05 02:41:39 +0200
commit9b46c73b022962f7595d57123afa72e858dcf0bd (patch)
tree391780894f856dcf80b4d727147387101d8d5763 /build-aux/templates
parent396e1e91726fb9ff8d35a739c634cdddf74bea1c (diff)
downloadexternal_libqmi-9b46c73b022962f7595d57123afa72e858dcf0bd.zip
external_libqmi-9b46c73b022962f7595d57123afa72e858dcf0bd.tar.gz
external_libqmi-9b46c73b022962f7595d57123afa72e858dcf0bd.tar.bz2
libqmi-glib: Android: don't try to register a D-Bus error domainHEADmaster
Causes a crash on Android. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'build-aux/templates')
-rw-r--r--build-aux/templates/qmi-error-quarks-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/templates/qmi-error-quarks-template.c b/build-aux/templates/qmi-error-quarks-template.c
index 4386a60..ffae0b8 100644
--- a/build-aux/templates/qmi-error-quarks-template.c
+++ b/build-aux/templates/qmi-error-quarks-template.c
@@ -25,7 +25,7 @@ static const GDBusErrorEntry @enum_name@_entries[] = {
GQuark
@enum_name@_quark (void)
{
- static volatile gsize quark_volatile = 0;
+ static volatile gsize quark_volatile = 1;
if (!quark_volatile)
g_dbus_error_register_error_domain ("@enum_name@_quark",