diff options
Diffstat (limited to 'common/flatpak-utils-private.h')
-rw-r--r-- | common/flatpak-utils-private.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/common/flatpak-utils-private.h b/common/flatpak-utils-private.h index 1ba0f9d8..83e4e55e 100644 --- a/common/flatpak-utils-private.h +++ b/common/flatpak-utils-private.h @@ -36,7 +36,6 @@ #include "flatpak-variant-private.h" #include "flatpak-dir-private.h" #include <ostree.h> -#include <json-glib/json-glib.h> #define AUTOFS_SUPER_MAGIC 0x0187 @@ -617,17 +616,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC (FlatpakRepoTransaction, flatpak_repo_transaction_ #define AUTOLOCK(name) G_GNUC_UNUSED __attribute__((cleanup (flatpak_auto_unlock_helper))) GMutex * G_PASTE (auto_unlock, __LINE__) = flatpak_auto_lock_helper (&G_LOCK_NAME (name)) -#if !JSON_CHECK_VERSION (1, 1, 2) -G_DEFINE_AUTOPTR_CLEANUP_FUNC (JsonArray, json_array_unref) -G_DEFINE_AUTOPTR_CLEANUP_FUNC (JsonBuilder, g_object_unref) -G_DEFINE_AUTOPTR_CLEANUP_FUNC (JsonGenerator, g_object_unref) -G_DEFINE_AUTOPTR_CLEANUP_FUNC (JsonNode, json_node_free) -G_DEFINE_AUTOPTR_CLEANUP_FUNC (JsonObject, json_object_unref) -G_DEFINE_AUTOPTR_CLEANUP_FUNC (JsonParser, g_object_unref) -G_DEFINE_AUTOPTR_CLEANUP_FUNC (JsonPath, g_object_unref) -G_DEFINE_AUTOPTR_CLEANUP_FUNC (JsonReader, g_object_unref) -#endif - /* This uses a weird Auto prefix to avoid conflicts with later added autogenerated autoptr support, per: * https://git.gnome.org/browse/glib/commit/?id=1c6cd5f0a3104aa9b62c7f1d3086181f63e71b59 */ |