Author: benny
Date: 2007-02-17 14:31:35 +0000 (Sat, 17 Feb 2007)
New Revision: 24987

Modified:
   libexo/trunk/ChangeLog
   libexo/trunk/exo/exo-config.h.in
Log:
2007-02-17      Benedikt Meurer <[EMAIL PROTECTED]>

        * exo/exo-config.h.in: Make sure EXO_PARAM_READABLE,
          EXO_PARAM_WRITABLE and EXO_PARAM_READWRITE are properly set.




Modified: libexo/trunk/ChangeLog
===================================================================
--- libexo/trunk/ChangeLog      2007-02-17 08:43:31 UTC (rev 24986)
+++ libexo/trunk/ChangeLog      2007-02-17 14:31:35 UTC (rev 24987)
@@ -1,3 +1,8 @@
+2007-02-17     Benedikt Meurer <[EMAIL PROTECTED]>
+
+       * exo/exo-config.h.in: Make sure EXO_PARAM_READABLE,
+         EXO_PARAM_WRITABLE and EXO_PARAM_READWRITE are properly set.
+
 2007-02-12     Benedikt Meurer <[EMAIL PROTECTED]>
 
        * exo/exo-mount-point.c: Fix compilation on Solaris 2.8. Bug #2798.

Modified: libexo/trunk/exo/exo-config.h.in
===================================================================
--- libexo/trunk/exo/exo-config.h.in    2007-02-17 08:43:31 UTC (rev 24986)
+++ libexo/trunk/exo/exo-config.h.in    2007-02-17 14:31:35 UTC (rev 24987)
@@ -29,7 +29,7 @@
 
 #include <glib-object.h>
 
-G_BEGIN_DECLS;
+G_BEGIN_DECLS
 
 #define EXO_MAJOR_VERSION @LIBEXO_VERSION_MAJOR@
 #define EXO_MINOR_VERSION @LIBEXO_VERSION_MINOR@
@@ -69,10 +69,8 @@
 #endif /* __GNUC__ */
 #endif /* !defined(G_GNUC_WARN_UNUSED_RESULT) */
 
-/* with newer GObject versions it's possible to avoid the unnecessary
- * copying of the name, nick and blurb settings for GParamSpec's.
- */
-#if defined(G_PARAM_STATIC_NAME) && defined(G_PARAM_STATIC_NICK) && 
defined(G_PARAM_STATIC_BLURB)
+/* with GObject >= 2.7.0, copying name, nick and blurb can be avoided */
+#if GLIB_CHECK_VERSION(2,7,0)
 #define EXO_PARAM_READABLE  (G_PARAM_READABLE \
                            | G_PARAM_STATIC_NAME \
                            | G_PARAM_STATIC_NICK \
@@ -91,7 +89,7 @@
 #define EXO_PARAM_READWRITE (G_PARAM_READWRITE)
 #endif
 
-G_END_DECLS;
+G_END_DECLS
 
 #endif /* !__EXO_CONFIG_H__ */
 

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to