[gtk/matthiasc/for-master: 7/8] searchbar: Set a focus vfunc
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 7/8] searchbar: Set a focus vfunc
- Date: Mon, 13 Jul 2020 19:07:25 +0000 (UTC)
commit 3c5afc06d10a117a886fb74ffcb02db939684ea0
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jul 13 15:06:08 2020 -0400
searchbar: Set a focus vfunc
We don't want to take focus ourselves here.
gtk/gtksearchbar.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtksearchbar.c b/gtk/gtksearchbar.c
index c0624268c5..f7cb05a17d 100644
--- a/gtk/gtksearchbar.c
+++ b/gtk/gtksearchbar.c
@@ -294,6 +294,7 @@ gtk_search_bar_class_init (GtkSearchBarClass *klass)
object_class->get_property = gtk_search_bar_get_property;
widget_class->compute_expand = gtk_search_bar_compute_expand;
+ widget_class->focus = gtk_widget_focus_child;
/**
* GtkSearchBar:search-mode-enabled:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]