diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2013-06-26 10:47:16 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2013-06-28 16:44:50 +0200 |
commit | a63c691b2f1d1dd4d212b27fea0534f2481ebcc8 (patch) | |
tree | 164bf03be3d7da1c8873cb37e0f5acc223e79a56 /rest/rest-private.h | |
parent | 2b363686aa1cbfa2d778a16b813472f1bf309cbf (diff) | |
download | librest-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-private.h')
-rw-r--r-- | rest/rest-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rest/rest-private.h b/rest/rest-private.h index b0f1fe4..1a78f80 100644 --- a/rest/rest-private.h +++ b/rest/rest-private.h @@ -28,6 +28,7 @@ #include <rest/rest-proxy-call.h> #include <rest/rest-xml-node.h> #include <libsoup/soup.h> +#include "glib-compat.h" G_BEGIN_DECLS |