[gnome-games] libgames-support: gnobots2: Move games-find-file.[ch] to gnobots2
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] libgames-support: gnobots2: Move games-find-file.[ch] to gnobots2
- Date: Thu, 9 Jul 2009 23:13:42 +0000 (UTC)
commit 12d20a1914b66ba610bbd00cf3f08ff0f9b436e3
Author: Christian Persch <chpe gnome org>
Date: Wed Jul 8 13:45:29 2009 +0200
libgames-support: gnobots2: Move games-find-file.[ch] to gnobots2
It's the only game using it, so move it there.
gnobots2/Makefile.am | 7 ++++++-
.../games-find-file.c => gnobots2/find-file.c | 4 ++--
.../games-find-file.h => gnobots2/find-file.h | 0
gnobots2/graphics.c | 2 +-
libgames-support/Makefile.am | 2 --
5 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/gnobots2/Makefile.am b/gnobots2/Makefile.am
index 5242303..19f4681 100644
--- a/gnobots2/Makefile.am
+++ b/gnobots2/Makefile.am
@@ -4,6 +4,8 @@ if BUILD_HELP
SUBDIRS += help
endif
+NULL =
+
schemadir = @GCONF_SCHEMA_FILE_DIR@
schema_in_files = gnobots2.schemas.in
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
@@ -33,7 +35,10 @@ gnobots2_SOURCES = \
sound.h \
cursors.c \
cursors.h \
- gbdefs.h
+ gbdefs.h \
+ find-file.c \
+ find-file.h \
+ $(NULL)
gnobots2_CPPFLAGS = \
-I$(top_srcdir) \
diff --git a/libgames-support/games-find-file.c b/gnobots2/find-file.c
similarity index 96%
rename from libgames-support/games-find-file.c
rename to gnobots2/find-file.c
index 08d80da..87b4520 100644
--- a/libgames-support/games-find-file.c
+++ b/gnobots2/find-file.c
@@ -22,8 +22,8 @@
#include <glib.h>
-#include "games-files.h"
-#include "games-find-file.h"
+#include <libgames-support/games-files.h>
+#include "find-file.h"
static gchar *
make_canonical_name (const gchar * name)
diff --git a/libgames-support/games-find-file.h b/gnobots2/find-file.h
similarity index 100%
rename from libgames-support/games-find-file.h
rename to gnobots2/find-file.h
diff --git a/gnobots2/graphics.c b/gnobots2/graphics.c
index 3a39061..f3ac89c 100644
--- a/gnobots2/graphics.c
+++ b/gnobots2/graphics.c
@@ -25,7 +25,6 @@
#include <gtk/gtk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <libgames-support/games-find-file.h>
#include <libgames-support/games-preimage.h>
#include <libgames-support/games-runtime.h>
#include <libgames-support/games-scores.h>
@@ -37,6 +36,7 @@
#include <time.h>
#include <dirent.h>
+#include "find-file.h"
#include "graphics.h"
#include "gbdefs.h"
#include "gnobots.h"
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index c6a7ad5..a780f73 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -75,8 +75,6 @@ if LIBGAMES_SUPPORT_FULL
libgames_support_la_SOURCES += \
games-frame.c \
games-frame.h \
- games-find-file.c \
- games-find-file.h \
games-gridframe.c \
games-gridframe.h \
games-score.h \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]