[libgsf] GSF_PARAM_STATIC: make this an alias for G_PARAM_STATIC_STRINGS



commit 3730d9f712f8960df3b4c2ba76d35b5647e8024d
Author: Morten Welinder <terra gnome org>
Date:   Mon Jan 27 18:42:15 2020 -0500

    GSF_PARAM_STATIC: make this an alias for G_PARAM_STATIC_STRINGS
    
    It's used outside libgsf, so we cannot remove it.

 gsf/gsf-impl-utils.h | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/gsf/gsf-impl-utils.h b/gsf/gsf-impl-utils.h
index 911493d..ebd7d72 100644
--- a/gsf/gsf-impl-utils.h
+++ b/gsf/gsf-impl-utils.h
@@ -27,15 +27,7 @@
 
 G_BEGIN_DECLS
 
-/* We need to do this with a version check as this header gets installed.
- *
- * DEPRECATED in favour of G_PARAM_STATIC_STRINGS
- **/
-#if GLIB_CHECK_VERSION(2,7,0)
-#define GSF_PARAM_STATIC (G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB)
-#else
-#define GSF_PARAM_STATIC 0
-#endif
+#define GSF_PARAM_STATIC G_PARAM_STATIC_STRINGS
 
 /*************************************************************************/
 


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