[aisleriot] conf: Fix build with --with-platform=gtk-only



commit 7fd0894f94f41d598d06fd718964565b28640e39
Author: Christian Persch <chpe gnome org>
Date:   Sat Aug 3 14:33:22 2013 +0200

    conf: Fix build with --with-platform=gtk-only

 src/conf.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/conf.c b/src/conf.c
index 408653c..2688a8c 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -65,6 +65,16 @@ static const guint8 key_name_offsets[] = {
 
 #endif /* HAVE_GNOME */
 
+static char *
+game_module_to_game_name (const char *game_module)
+{
+  char *game_name;
+
+  game_name = g_strdelimit (g_strconcat (game_module, ".scm", NULL), "-", '_');
+
+  return game_name;
+}
+
 #ifdef HAVE_GNOME
 
 static GConfClient *gconf_client;
@@ -78,16 +88,6 @@ options_gconf_key (const char *game_module)
   return g_strdelimit (g_strconcat (basekey, game_module, ".scm", NULL), "-", '_');
 }
 
-static char *
-game_module_to_game_name (const char *game_module)
-{
-  char *game_name;
-
-  game_name = g_strdelimit (g_strconcat (game_module, ".scm", NULL), "-", '_');
-
-  return game_name;
-}
-
 static void
 load_statistics (void)
 {


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