[glibmm] Variant: Remove the now-unnecessary local g_variant_parse_error_quark().
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Variant: Remove the now-unnecessary local g_variant_parse_error_quark().
- Date: Thu, 3 Apr 2014 18:44:19 +0000 (UTC)
commit fe1559a3182aac9e9996d895643d20af8db70b06
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Apr 3 20:40:37 2014 +0200
Variant: Remove the now-unnecessary local g_variant_parse_error_quark().
This is in glib itself now:
https://git.gnome.org/browse/glib/commit/glib/gvariant.h?id=eeac91f866939fd033303f34c7eb9d2b57c769fb
and was causing segfaults.
Bug #727554 (Antoine Jacoutot)
glib/src/variant.ccg | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/glib/src/variant.ccg b/glib/src/variant.ccg
index 1689e6b..a7c5352 100644
--- a/glib/src/variant.ccg
+++ b/glib/src/variant.ccg
@@ -20,19 +20,6 @@
#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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]