SessionDialog: Drop session_selected

It did nothing. And it was called in different contexts, making it hard
to imagine which single thing it possibly could do.
This commit is contained in:
Mads Kiilerich 2025-07-26 21:00:51 +02:00
parent 1bdf7423c7
commit c6fe5355a4
2 changed files with 0 additions and 9 deletions

View file

@ -558,11 +558,6 @@ SessionDialog::existing_file_selected ()
}
}
void
SessionDialog::session_selected ()
{
}
bool
SessionDialog::new_button_pressed (GdkEventButton*)
{
@ -865,7 +860,6 @@ SessionDialog::new_name_changed ()
}
if (!new_name_entry.get_text().empty()) {
session_selected ();
open_button->set_sensitive (true);
} else {
open_button->set_sensitive (false);
@ -1126,7 +1120,6 @@ SessionDialog::recent_session_row_selected ()
{
if (recent_session_display.get_selection()->count_selected_rows() > 0) {
open_button->set_sensitive (true);
session_selected ();
} else {
open_button->set_sensitive (false);
}

View file

@ -169,8 +169,6 @@ private:
void recent_context_mennu (GdkEventButton*);
void recent_remove_selected ();
void session_selected ();
void existing_file_selected();
void existing_file_activated ();