From 4dc8021ea969cc0e9b24fcf0a8bef313b85af69f Mon Sep 17 00:00:00 2001 From: eidheim Date: Sun, 3 May 2020 09:37:16 +0200 Subject: [PATCH] Now use SearchEntry instead of Entry in SelectionDialog --- src/selection_dialog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/selection_dialog.h b/src/selection_dialog.h index 8384552..860b023 100644 --- a/src/selection_dialog.h +++ b/src/selection_dialog.h @@ -29,10 +29,10 @@ class SelectionDialogBase { unsigned int size = 0; }; - class SearchEntry : public Gtk::Entry { + class SearchEntry : public Gtk::SearchEntry { public: - SearchEntry() : Gtk::Entry() {} - bool on_key_press_event(GdkEventKey *event) override { return Gtk::Entry::on_key_press_event(event); }; + SearchEntry() : Gtk::SearchEntry() {} + bool on_key_press_event(GdkEventKey *event) override { return Gtk::SearchEntry::on_key_press_event(event); }; }; public: