[gnome-nibbles] Handle another scores API change
- From: Iulian Radu <iulianradu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Handle another scores API change
- Date: Mon, 26 Oct 2015 00:24:28 +0000 (UTC)
commit ed420858500369572afcf3086c74d4b433ece142
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]