[network-manager-applet/nma-0-9-6] libnm-gtk: GLIB_DEPRECATED_FOR only defined in glib 2.31+



commit 1d251175fe1cd522a7a0122eaef7775e5c4ad4ba
Author: Dan Williams <dcbw redhat com>
Date:   Wed Oct 24 15:36:52 2012 -0500

    libnm-gtk: GLIB_DEPRECATED_FOR only defined in glib 2.31+

 src/libnm-gtk/nm-wireless-dialog.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/libnm-gtk/nm-wireless-dialog.h b/src/libnm-gtk/nm-wireless-dialog.h
index 4e487c4..c5e282b 100644
--- a/src/libnm-gtk/nm-wireless-dialog.h
+++ b/src/libnm-gtk/nm-wireless-dialog.h
@@ -52,6 +52,10 @@ typedef struct {
 	GObjectClass parent;
 } NMAWirelessDialogClass;
 
+#if !GLIB_CHECK_VERSION(2,31,0)
+#define GLIB_DEPRECATED_FOR(x)
+#endif
+
 GLIB_DEPRECATED_FOR(nma_wifi_dialog_get_type)
 GType nma_wireless_dialog_get_type (void);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]