[gnome-software/wip/rancell/reviews: 13/13] Drop g_autoptr defines for json-glib - we have 1.1.2 in Ubuntu now



commit 115dce90275ec9baa8470a5386336beff61fe613
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 b6ffdad..09d5896 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -35,13 +35,6 @@
 #include "gs-ubuntu-login-dialog.h"
 #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]