Skip to content
Snippets Groups Projects
Commit 47230ff4 authored by Simon McVittie's avatar Simon McVittie
Browse files

helpers, launcher: Assume that GDBus provides autocleanup functions


We now require GLib 2.58, which provides those.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent fb36b66a
No related branches found
No related tags found
1 merge request!725Remove compatibility with GLib < 2.58
......@@ -37,10 +37,6 @@
#include <steam-runtime-tools/json-utils-internal.h>
#include <steam-runtime-tools/utils-internal.h>
#if !GLIB_CHECK_VERSION(2, 43, 4)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDBusProxy, g_object_unref)
#endif
static gboolean opt_print_version = FALSE;
static const GOptionEntry option_entries[] =
......
......@@ -53,10 +53,6 @@ typedef enum
),
} PvLaunchFlags;
#if !GLIB_CHECK_VERSION (2, 47, 92)
G_DEFINE_AUTOPTR_CLEANUP_FUNC (PvLauncher1Skeleton, g_object_unref)
#endif
/* Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx */
#define PV_UUID_STRLEN 36
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment