[gnome-games/wip/exalm/savestates: 3/5] savestates-list-state: Remove delete_clicked()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/savestates: 3/5] savestates-list-state: Remove delete_clicked()
- Date: Sun, 26 Jan 2020 19:23:45 +0000 (UTC)
commit fe99f80067fe9eede995df389c306dada7d9ff29
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun Jan 26 23:22:52 2020 +0500
savestates-list-state: Remove delete_clicked()
It's a leftover from when the delete button was in headerbar.
src/ui/savestates-list-state.vala | 2 --
src/ui/savestates-list.vala | 4 +---
2 files changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/src/ui/savestates-list-state.vala b/src/ui/savestates-list-state.vala
index a9518fa2..fb3d97e6 100644
--- a/src/ui/savestates-list-state.vala
+++ b/src/ui/savestates-list-state.vala
@@ -1,5 +1,3 @@
private class Games.SavestatesListState : Object {
- public signal void delete_clicked ();
-
public bool is_revealed { get; set; }
}
diff --git a/src/ui/savestates-list.vala b/src/ui/savestates-list.vala
index d43f83f8..3d448bf2 100644
--- a/src/ui/savestates-list.vala
+++ b/src/ui/savestates-list.vala
@@ -37,10 +37,8 @@ private class Games.SavestatesList : Gtk.Box {
_state = value;
- if (value != null) {
+ if (value != null)
value.notify["is-revealed"].connect (on_revealed_changed);
- value.delete_clicked.connect (on_delete_clicked);
- }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]