summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@appnearme.com>2014-06-27 09:48:38 +0100
committerOlivier Martin <olivier.martin@appnearme.com>2014-06-27 09:48:38 +0100
commite5b56250d158572c3f4dbede1d11a559f2ee269e (patch)
treec56b90bba8cdb3302ccd58b5576ce610e38697a0
parentd628218cd1ba7b19d4a9b37b85f3ecf3d52af9c2 (diff)
downloadlightdm-e5b56250d158572c3f4dbede1d11a559f2ee269e.tar.gz
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.
-rw-r--r--configure.ac2
-rw-r--r--liblightdm-gobject/greeter.c7
2 files changed, 1 insertions, 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;
}