[gnome-nibbles/wip/vala] Handle another scores API change
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/wip/vala] Handle another scores API change
- Date: Sun, 20 Sep 2015 18:28:44 +0000 (UTC)
commit a410dd7f9d61585f50e99f0f5357884ff9bc28c7
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Sep 20 13:27:18 2015 -0500
Handle another scores API change
run_dialog no longer throws.
src/gnome-nibbles.vala | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/gnome-nibbles.vala b/src/gnome-nibbles.vala
index 3cf9b3b..e802f1a 100644
--- a/src/gnome-nibbles.vala
+++ b/src/gnome-nibbles.vala
@@ -635,14 +635,7 @@ public class Nibbles : Gtk.Application
should_unpause = true;
}
- try
- {
- scores_context.run_dialog ();
- }
- catch (GLib.Error e)
- {
- error ("Failed to run scores dialog: %s", e.message);
- }
+ scores_context.run_dialog ();
// Be quite careful about whether to unpause. Don't unpause if the game has not started.
if (should_unpause)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]