[gnome-games] gnotravex: drop fixes.vapi
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] gnotravex: drop fixes.vapi
- Date: Fri, 3 Feb 2012 16:17:07 +0000 (UTC)
commit 83610eda190d32e2e1c2d31a8a322a15ce6c8e3a
Author: Ryan Lortie <desrt desrt ca>
Date: Fri Feb 3 11:14:45 2012 -0500
gnotravex: drop fixes.vapi
Since we depend on Vala 0.15, we no longer need this.
gnotravex/src/Makefile.am | 3 +-
gnotravex/src/fixes.vapi | 177 ------------------------------------------
gnotravex/src/gnotravex.vala | 8 +-
3 files changed, 5 insertions(+), 183 deletions(-)
---
diff --git a/gnotravex/src/Makefile.am b/gnotravex/src/Makefile.am
index 4eb05d9..88150b5 100644
--- a/gnotravex/src/Makefile.am
+++ b/gnotravex/src/Makefile.am
@@ -5,8 +5,7 @@ gnotravex_SOURCES = \
gnotravex.vala \
puzzle.vala \
puzzle-view.vala \
- theme.vala \
- fixes.vapi
+ theme.vala
gnotravex_VALAFLAGS = \
--pkg posix \
diff --git a/gnotravex/src/gnotravex.vala b/gnotravex/src/gnotravex.vala
index 522f7b7..5ab67d8 100644
--- a/gnotravex/src/gnotravex.vala
+++ b/gnotravex/src/gnotravex.vala
@@ -1,4 +1,4 @@
-public class Gnotravex : Gtk3.Application
+public class Gnotravex : Gtk.Application
{
private const string KEY_GRID_SIZE = "grid-size";
@@ -43,7 +43,7 @@ public class Gnotravex : Gtk3.Application
{
var builder = new Gtk.Builder ();
builder.add_from_string (menu_description, -1);
- app_menu = (GLib2.MenuModel) builder.get_object ("app-menu");
+ app_menu = (GLib.MenuModel) builder.get_object ("app-menu");
}
catch (Error e)
{
@@ -54,7 +54,7 @@ public class Gnotravex : Gtk3.Application
highscores = new GnomeGamesSupport.Scores ("gnotravex", scorecats, null, null, 0, GnomeGamesSupport.ScoreStyle.TIME_ASCENDING);
- window = new Gtk3.ApplicationWindow (this);
+ window = new Gtk.ApplicationWindow (this);
window.title = _("Tetravex");
GnomeGamesSupport.settings_bind_window_state ("/org/gnome/gnotravex/", window);
@@ -274,7 +274,7 @@ public class Gnotravex : Gtk3.Application
action.change_state (parameter);
}
- private const GLib2.ActionEntry[] action_entries =
+ private const GLib.ActionEntry[] action_entries =
{
{ "new-game", new_game_cb },
{ "pause", toggle_cb, null, "false", pause_changed },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]