From 976d1ff8a4e4dc8c4755b8154e270ff05c990af8 Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Fri, 27 Jun 2014 09:48:38 +0100 Subject: [PATCH] liblightdm-gobject: Enabled the library for lower Glib I/O versions Removed GAsyncResultIface.is_tagged as this attribute was not available in earlier versions of Glib I/O. --- configure.ac | 2 +- liblightdm-gobject/greeter.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 50a80d9f..f7ca3ea2 100644 --- a/configure.ac +++ b/configure.ac @@ -42,7 +42,7 @@ AC_CHECK_FUNCS(setresgid setresuid clearenv) PKG_CHECK_MODULES(LIGHTDM, [ glib-2.0 >= 2.30 - gio-2.0 >= 2.34 + gio-2.0 >= 2.26 gio-unix-2.0 xdmcp xcb diff --git a/liblightdm-gobject/greeter.c b/liblightdm-gobject/greeter.c index 2875c42d..13fdada9 100644 --- a/liblightdm-gobject/greeter.c +++ b/liblightdm-gobject/greeter.c @@ -1916,16 +1916,9 @@ request_get_source_object (GAsyncResult *res) return NULL; } -static gboolean -request_is_tagged (GAsyncResult *res, gpointer source_tag) -{ - return FALSE; -} - static void request_iface_init (GAsyncResultIface *iface) { iface->get_user_data = request_get_user_data; iface->get_source_object = request_get_source_object; - iface->is_tagged = request_is_tagged; } -- 2.39.2