[gnome-software/wip/temp/ubuntu-xenial-rebased: 125/326] Drop g_autoptr defines for json-glib - we have 1.1.2 in Ubuntu now
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 125/326] Drop g_autoptr defines for json-glib - we have 1.1.2 in Ubuntu now
- Date: Fri, 29 Apr 2016 09:57:50 +0000 (UTC)
commit 0d5d6d9de7e2962cf42e8dc54b0240a8ce553f26
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Mar 2 12:06:15 2016 +1300
Drop g_autoptr defines for json-glib - we have 1.1.2 in Ubuntu now
src/plugins/gs-plugin-ubuntu-reviews.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/plugins/gs-plugin-ubuntu-reviews.c b/src/plugins/gs-plugin-ubuntu-reviews.c
index 478752c..8796794 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -33,13 +33,6 @@
#include "gs-os-release.h"
-// Fixes in json-glib >= 1.1.1
-#ifndef JsonParser_autoptr
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(JsonParser, g_object_unref)
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(JsonBuilder, g_object_unref)
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(JsonGenerator, g_object_unref)
-#endif
-
#define SCHEMA_NAME "com.ubuntu.UbuntuOne.GnomeSoftware"
#define CONSUMER_KEY "consumer-key"
#define CONSUMER_SECRET "consumer-secret"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]