[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 125/331] Drop g_autoptr defines for json-glib - we have 1.1.2 in Ubuntu now
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 125/331] Drop g_autoptr defines for json-glib - we have 1.1.2 in Ubuntu now
- Date: Wed, 4 May 2016 14:09:02 +0000 (UTC)
commit 527b602fa5f9dbae3b0d948e34205f62db25f9b5
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 f0c440f..865cb0f 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -34,13 +34,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]