[Spice-commits] 2 commits - gtk/glib-compat.h spice-common

Marc-André Lureau elmarco at kemper.freedesktop.org
Wed Aug 29 03:06:13 PDT 2012


 gtk/glib-compat.h |    9 +++++++++
 spice-common      |    2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

New commits:
commit 66a75f9dfe9af7b483eab608ef7fa4cf93d648be
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Wed Aug 29 12:05:42 2012 +0200

    Update spice-common

diff --git a/spice-common b/spice-common
index 86e286b..04dc2be 160000
--- a/spice-common
+++ b/spice-common
@@ -1 +1 @@
-Subproject commit 86e286ba2003c206e700fd70ec67c1cf4ac8d8a6
+Subproject commit 04dc2bee9ecdda7d7966f9267df37ab23bb5a802
commit b036e07acc1780a3a4e825a1c26b5b3c89508a5e
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Tue Aug 28 19:15:18 2012 +0200

    glib-compat: add G_GNUC_DEPRECATED_FOR
    
    G_GNUC_DEPRECATED_FOR was introduced in glib 2.26

diff --git a/gtk/glib-compat.h b/gtk/glib-compat.h
index aa750b2..a9efda3 100644
--- a/gtk/glib-compat.h
+++ b/gtk/glib-compat.h
@@ -126,4 +126,13 @@ GType spice_main_context_get_type (void) G_GNUC_CONST;
   } G_STMT_END
 #endif
 
+#ifndef G_GNUC_DEPRECATED_FOR
+#if    __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
+#define G_GNUC_DEPRECATED_FOR(f)                        \
+  __attribute__((deprecated("Use " #f " instead")))
+#else
+#define G_GNUC_DEPRECATED_FOR(f)        G_GNUC_DEPRECATED
+#endif /* __GNUC__ */
+#endif
+
 #endif /* GLIB_COMPAT_H */


More information about the Spice-commits mailing list