[gnome-robots/wip/libgames-support: 31/41] Update to libgames-support
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/wip/libgames-support: 31/41] Update to libgames-support
- Date: Sun, 20 Sep 2015 22:39:36 +0000 (UTC)
commit b13c81e04a1d877fe88cb91e5c5777d67fae481e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Feb 22 10:32:27 2015 -0600
Update to libgames-support
configure.ac | 2 +-
src/game.c | 2 +-
src/gnome-robots.c | 7 ++++---
src/gnome-robots.h | 5 ++---
src/graphics.c | 2 +-
src/properties.c | 2 +-
6 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e2c4b81..0dec930 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,7 @@ PKG_CHECK_MODULES(ROBOTS, [
gio-2.0 >= $GLIB_REQUIRED
librsvg-2.0 >= $RSVG_REQUIRED
libcanberra-gtk3 >= $CANBERRA_GTK_REQUIRED
- libgames-scores
+ libgames-support
])
AC_PATH_PROG([DESKTOP_FILE_VALIDATE], [desktop-file-validate], [/bin/true])
diff --git a/src/game.c b/src/game.c
index b2fcbaa..8fbf598 100644
--- a/src/game.c
+++ b/src/game.c
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <math.h>
+#include <games-support.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
@@ -36,7 +37,6 @@
#include "properties.h"
#include "graphics.h"
#include "cursors.h"
-#include "games-scores.h"
/**********************************************************************/
/* Exported Variables */
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index e15c304..2b2b825 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -22,6 +22,8 @@
#include <config.h>
+#include "gnome-robots.h"
+
#include <sys/time.h>
#include <string.h>
#include <stdlib.h>
@@ -38,7 +40,6 @@
#include "game.h"
#include "cursors.h"
#include "games-gridframe.h"
-#include "games-scores.h"
/* Minimum sizes. */
#define MINIMUM_TILE_WIDTH 8
@@ -172,8 +173,8 @@ update_game_status (gint score, gint current_level, gint safes)
g_free (button_text);
}
-const gchar
-*category_name_from_key (const gchar* key)
+const gchar *
+category_name_from_key (const gchar* key)
{
int i;
for (i = 0; i < no_categories; i++)
diff --git a/src/gnome-robots.h b/src/gnome-robots.h
index 1f637c6..3b5ff06 100644
--- a/src/gnome-robots.h
+++ b/src/gnome-robots.h
@@ -1,10 +1,9 @@
#ifndef GNOBOTS_H
#define GNOBOTS_H
+#include <games-support.h>
#include <gtk/gtk.h>
-#include "games-scores.h"
-
/**********************************************************************/
/* Exported Variables */
/**********************************************************************/
@@ -20,7 +19,7 @@ extern GSettings *settings;
void set_move_action_sensitivity (gboolean state);
void update_game_status (gint score, gint level, gint safe_teleports);
void quit_game (void);
-gchar* category_name_from_key (const gchar*);
+const gchar* category_name_from_key (const gchar *);
/**********************************************************************/
#endif /* GNOBOTS_H */
diff --git a/src/graphics.c b/src/graphics.c
index 53d508b..5bb65a1 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -21,6 +21,7 @@
#include <config.h>
+#include <games-support.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
@@ -38,7 +39,6 @@
#include "gnome-robots.h"
#include "properties.h"
#include "games-preimage.h"
-#include "games-scores.h"
/**********************************************************************/
diff --git a/src/properties.c b/src/properties.c
index c90fbba..3700f31 100644
--- a/src/properties.c
+++ b/src/properties.c
@@ -23,6 +23,7 @@
#include <string.h>
+#include <games-support.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
@@ -36,7 +37,6 @@
#include "game.h"
#include "games-file-list.h"
#include "games-controls.h"
-#include "games-scores.h"
/**********************************************************************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]