[Xfce4-commits] <exo:master> Only build the query function for glib 2.24 (bug #6366).

Nick Schermer noreply at xfce.org
Thu Apr 8 20:40:01 CEST 2010


Updating branch refs/heads/master
         to 1fa3802b58f19ce51431e14434fc5d8e618f13fd (commit)
       from 0171927af9e32551d954712cbdc5e5c9be1b77b5 (commit)

commit 1fa3802b58f19ce51431e14434fc5d8e618f13fd
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Apr 8 20:38:56 2010 +0200

    Only build the query function for glib 2.24 (bug #6366).

 exo-gio-module/exo-module.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/exo-gio-module/exo-module.c b/exo-gio-module/exo-module.c
index 173cd97..6cf2511 100644
--- a/exo-gio-module/exo-module.c
+++ b/exo-gio-module/exo-module.c
@@ -182,7 +182,7 @@ g_io_module_unload (GIOModule *module)
 }
 
 
-
+#if GLIB_CHECK_VERSION (2, 24, 0)
 G_MODULE_EXPORT gchar **
 g_io_module_query (void)
 {
@@ -192,3 +192,4 @@ g_io_module_query (void)
   };
   return g_strdupv (eps);
 }
+#endif



More information about the Xfce4-commits mailing list