[gnome-games] lightsoff: Stop using libgames-support
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] lightsoff: Stop using libgames-support
- Date: Wed, 29 Aug 2012 03:35:35 +0000 (UTC)
commit 730e78625e7c5cc86668c5fc45413db99b815337
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Aug 29 15:34:52 2012 +1200
lightsoff: Stop using libgames-support
lightsoff/src/Makefile.am | 6 +-----
lightsoff/src/lightsoff.vala | 6 +++---
2 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/lightsoff/src/Makefile.am b/lightsoff/src/Makefile.am
index b2515cd..fb0ce83 100644
--- a/lightsoff/src/Makefile.am
+++ b/lightsoff/src/Makefile.am
@@ -12,12 +12,9 @@ lightsoff_SOURCES = \
lightsoff_VALAFLAGS = \
--pkg posix \
--pkg gmodule-2.0 \
- --pkg clutter-gtk-1.0 \
- --vapidir $(top_srcdir)/libgames-support \
- --pkg GnomeGamesSupport-1.0
+ --pkg clutter-gtk-1.0
lightsoff_CFLAGS = \
- -I$(top_srcdir)/libgames-support \
-DVERSION=\"$(VERSION)\" \
-DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
-DDATADIR=\""$(datadir)/lightsoff"\" \
@@ -28,7 +25,6 @@ lightsoff_CFLAGS = \
$(CLUTTER_GTK_CFLAGS)
lightsoff_LDADD = \
- $(top_builddir)/libgames-support/libgames-support.la \
$(GMODULE_LIBS) \
$(GTK_LIBS) \
$(CLUTTER_GTK_LIBS) \
diff --git a/lightsoff/src/lightsoff.vala b/lightsoff/src/lightsoff.vala
index cd07a07..2dc4f7a 100644
--- a/lightsoff/src/lightsoff.vala
+++ b/lightsoff/src/lightsoff.vala
@@ -137,6 +137,8 @@ public class LightsOff : Gtk.Application
"Eric Baudais",
null
};
+
+ var license = "Lights Off is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\n\nLights Off is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with Lights Off; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA";
Gtk.show_about_dialog (window,
"program-name", _("Lights Off"),
@@ -144,7 +146,7 @@ public class LightsOff : Gtk.Application
"comments",
_("Turn off all the lights\n\nLights Off is a part of GNOME Games."),
"copyright", "Copyright  2009 Tim Horton",
- "license", GnomeGamesSupport.get_license (_("Lights Off")),
+ "license", license,
"wrap-license", true,
"authors", authors,
"artists", artists,
@@ -171,8 +173,6 @@ public class LightsOff : Gtk.Application
return Posix.EXIT_FAILURE;
}
- GnomeGamesSupport.stock_init ();
-
var app = new LightsOff ();
return app.run ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]