[network-manager-applet] libnm-gtk: GLIB_DEPRECATED_FOR only defined in glib 2.31+



commit 4c1fed05fc4ef4b8087ddab5d2bd8feb8a6f16df
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]