[gnome-games] ui: Remove unused display_error() from CollectionBox
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] ui: Remove unused display_error() from CollectionBox
- Date: Wed, 17 Aug 2016 06:28:01 +0000 (UTC)
commit d3c5c38996b23ca1bdbb4bef836892622c9e0b41
Author: Adrien Plazas <kekun plazas laposte net>
Date: Wed Aug 17 08:15:13 2016 +0200
ui: Remove unused display_error() from CollectionBox
https://bugzilla.gnome.org/show_bug.cgi?id=769801
src/ui/collection-box.vala | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/ui/collection-box.vala b/src/ui/collection-box.vala
index c41d0d6..95518cf 100644
--- a/src/ui/collection-box.vala
+++ b/src/ui/collection-box.vala
@@ -28,23 +28,6 @@ private class Games.CollectionBox : Gtk.Box {
BindingFlags.BIDIRECTIONAL);
}
- public void display_error (string message) {
- var error = new ErrorInfoBar ();
- error.message = message;
- info_box.pack_start (error, false, false);
-
- error.response.connect (on_info_bar_response);
- error.close.connect (on_info_bar_close);
- }
-
- private void on_info_bar_response (Gtk.InfoBar info_bar, int response_id) {
- info_box.remove (info_bar);
- }
-
- private void on_info_bar_close (Gtk.InfoBar info_bar) {
- info_box.remove (info_bar);
- }
-
[GtkCallback]
private void on_game_activated (Game game) {
game_activated (game);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]