[gnome-software/wip/temp/ubuntu-xenial-rebased: 126/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: 126/326] Drop g_autoptr defines for json-glib - we have 1.1.2 in Ubuntu now
- Date: Fri, 29 Apr 2016 09:57:55 +0000 (UTC)
commit 394fc342f7eac42e21752ec9e84e5dfaaee9be24
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Mar 2 12:23:17 2016 +1300
Drop g_autoptr defines for json-glib - we have 1.1.2 in Ubuntu now
src/plugins/gs-plugin-snappy.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/gs-plugin-snappy.c b/src/plugins/gs-plugin-snappy.c
index ac63534..471b247 100644
--- a/src/plugins/gs-plugin-snappy.c
+++ b/src/plugins/gs-plugin-snappy.c
@@ -29,11 +29,6 @@
#include <libsoup/soup.h>
#include <json-glib/json-glib.h>
-// This is fixed in json-glib 1.1.1
-#ifndef JsonParser_autoptr
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(JsonParser, g_object_unref)
-#endif
-
// snapd API documentation is at https://github.com/ubuntu-core/snappy/blob/master/docs/rest.md
struct GsPluginPrivate {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]