summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2013-09-17 11:15:09 +0200
committerMurray Cumming <murrayc@murrayc.com>2013-09-17 11:15:09 +0200
commit3aee3aaacac0cbf2c5372071a82cdc3cb4753d52 (patch)
treef0de78031992f45be76b290e30d57a17a85af73f /glib
parentdbb1c852443509edd7b5bfca3ace8265859bc5b6 (diff)
downloadglibmm-3aee3aaacac0cbf2c5372071a82cdc3cb4753d52.tar.gz
Fix the build after previous commit
Diffstat (limited to 'glib')
-rw-r--r--glib/src/variant.ccg13
1 files changed, 13 insertions, 0 deletions
diff --git a/glib/src/variant.ccg b/glib/src/variant.ccg
index 7b69c2c2..bfdff9fd 100644
--- a/glib/src/variant.ccg
+++ b/glib/src/variant.ccg
@@ -20,6 +20,19 @@
#include <glib.h>
#include <iostream>
+extern "C"
+{
+
+//This is hack to workaround this problem in glib:
+// https://bugzilla.gnome.org/show_bug.cgi?id=708212
+//We really should not define a g_* symbol outside of glib:
+GQuark g_variant_parse_error_quark()
+{
+ return g_variant_parser_get_error_quark();
+}
+
+} //extern C
+
namespace Glib
{