Commit 9d5a734c authored by AndreiLisita's avatar AndreiLisita 🎮

display-header-bar: Handle savestates back button click with on_back_clicked()

Remove unused on_savestates_back_clicked() callback
parent e0366b77
......@@ -153,7 +153,7 @@
<property name="can_focus">False</property>
<property name="valign">center</property>
<property name="use-underline">True</property>
<signal name="clicked" handler="on_savestates_back_clicked"/>
<signal name="clicked" handler="on_back_clicked"/>
<style>
<class name="image-button"/>
</style>
......
......@@ -134,12 +134,6 @@ private class Games.DisplayHeaderBar : Gtk.Stack {
savestates_list_state.load_clicked ();
}
[GtkCallback]
private void on_savestates_back_clicked () {
runner.preview_current_state ();
savestates_list_state.is_revealed = false;
}
private void on_savestates_list_revealed_changed () {
if (savestates_list_state.is_revealed)
set_visible_child (savestates_header_bar);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment