[gnome-chess] trivial: remove extra braces around lambdas
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] trivial: remove extra braces around lambdas
- Date: Sun, 12 Jan 2014 17:20:52 +0000 (UTC)
commit 5e3b4f4f45e1a647b1b59bbf33a797b1ff4754e8
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Jan 12 11:18:59 2014 -0600
trivial: remove extra braces around lambdas
src/gnome-chess.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 2511bce..2d72ec1 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1931,7 +1931,7 @@ public class Application : Gtk.Application
save_button_label, Gtk.ResponseType.OK, null);
add_info_bar_to_dialog (save_dialog, out save_dialog_info_bar, out save_dialog_error_label);
- save_dialog.file_activated.connect (() => { save_dialog_cb (Gtk.ResponseType.OK); });
+ save_dialog.file_activated.connect (() => save_dialog_cb (Gtk.ResponseType.OK));
save_dialog.response.connect (save_dialog_cb);
if (game_file != null && game_file.get_path () != autosave_filename)
@@ -2001,7 +2001,7 @@ public class Application : Gtk.Application
_("_Open"), Gtk.ResponseType.OK, null);
add_info_bar_to_dialog (open_dialog, out open_dialog_info_bar, out open_dialog_error_label);
- open_dialog.file_activated.connect (() => { open_cb (Gtk.ResponseType.OK); });
+ open_dialog.file_activated.connect (() => open_cb (Gtk.ResponseType.OK));
open_dialog.response.connect (open_cb);
/* Filter out non PGN files by default */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]