[gnome-nibbles/wip/vala: 19/64] Fix build failling due to wrong resource name
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/wip/vala: 19/64] Fix build failling due to wrong resource name
- Date: Sun, 9 Aug 2015 12:53:00 +0000 (UTC)
commit 125923af62aa56fe0a2a564e112de4017b979114
Author: Iulian Radu <iulian radu67 gmail com>
Date: Mon Jun 29 00:30:43 2015 +0300
Fix build failling due to wrong resource name
data/pix/Makefile.am | 2 +-
src/nibbles-view.vala | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/pix/Makefile.am b/data/pix/Makefile.am
index 68d1459..86eee3f 100644
--- a/data/pix/Makefile.am
+++ b/data/pix/Makefile.am
@@ -14,7 +14,7 @@ SMALL_PIX = \
snake-blue.svg \
snake-cyan.svg \
snake-green.svg \
- snake-grey.svg \
+ snake-gray.svg \
snake-magenta.svg \
snake-red.svg \
snake-yellow.svg \
diff --git a/src/nibbles-view.vala b/src/nibbles-view.vala
index f345f21..29a1a2c 100644
--- a/src/nibbles-view.vala
+++ b/src/nibbles-view.vala
@@ -68,12 +68,12 @@ public class NibblesView : GtkClutter.Embed
catch (Clutter.TextureError e)
{
/* Fatal console error when the background texture could not be loaded. */
- error (_("Nibbles failed to load texture: %s"), filename);
+ error (_("Nibbles failed to load texture: %s"), e.message);
}
catch (Error e)
{
/* Fatal console error when the background texture could not be loaded. */
- error (_("Nibbles failed to load texture: %s"), filename);
+ error (_("Nibbles failed to load texture: %s"), e.message);
}
worm_actors = new Gee.HashMap<Worm, WormActor> ();
@@ -416,12 +416,12 @@ public class NibblesView : GtkClutter.Embed
catch (Clutter.TextureError e)
{
/* Fatal console error when the a worm's texture could not be set. */
- error (_("Nibbles failed to set texture: %s"), filename);
+ error (_("Nibbles failed to set texture: %s"), e.message);
}
catch (Error e)
{
/* Fatal console error when the a worm's texture could not be set. */
- error (_("Nibbles failed to set texture: %s"), filename);
+ error (_("Nibbles failed to set texture: %s"), e.message);
}
actor.set_size (game.tile_size, game.tile_size);
@@ -476,12 +476,12 @@ public class NibblesView : GtkClutter.Embed
catch (Clutter.TextureError e)
{
/* Fatal console error when the a worm's texture could not be set. */
- error (_("Nibbles failed to set texture: %s"), filename);
+ error (_("Nibbles failed to set texture: %s"), e.message);
}
catch (Error e)
{
/* Fatal console error when the a worm's texture could not be set. */
- error (_("Nibbles failed to set texture: %s"), filename);
+ error (_("Nibbles failed to set texture: %s"), e.message);
}
actor.get_position (out x, out y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]