summaryrefslogtreecommitdiff
path: root/rest/rest-proxy-auth.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-06-26 10:47:16 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2013-06-28 16:44:50 +0200
commita63c691b2f1d1dd4d212b27fea0534f2481ebcc8 (patch)
tree164bf03be3d7da1c8873cb37e0f5acc223e79a56 /rest/rest-proxy-auth.c
parent2b363686aa1cbfa2d778a16b813472f1bf309cbf (diff)
downloadlibrest-a63c691b2f1d1dd4d212b27fea0534f2481ebcc8.tar.gz
Fix compilation with older glibs
configure.ac requires glib 2.24, but librest is making use of glib functions that were added in later releases (g_clear_object, g_simple_async_report_take_gerror_in_idle, ...). This commit adds reimplementation of these functions which will be used when an older glib is present at build time. glib-compat.[ch] come from spice-gtk. https://bugzilla.gnome.org/show_bug.cgi?id=703103
Diffstat (limited to 'rest/rest-proxy-auth.c')
-rw-r--r--rest/rest-proxy-auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rest/rest-proxy-auth.c b/rest/rest-proxy-auth.c
index 3d808d4..86cd197 100644
--- a/rest/rest-proxy-auth.c
+++ b/rest/rest-proxy-auth.c
@@ -22,6 +22,7 @@
#include <rest/rest-proxy-auth.h>
#include <rest/rest-proxy-auth-private.h>
+#include "rest-private.h"
G_DEFINE_TYPE (RestProxyAuth, rest_proxy_auth, G_TYPE_OBJECT)