summaryrefslogtreecommitdiff
path: root/gtk/gtksearchentryprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-02-20 10:29:26 -0500
committerMatthias Clasen <mclasen@redhat.com>2019-02-20 10:29:26 -0500
commitb303c20570cc491bfd650b1780ed166dea18920f (patch)
treec8a28dd593eb5628e7caf1592f88c846be5ef3fa /gtk/gtksearchentryprivate.h
parent02e856f62e9eee7796bdff9ba8d8a9bda31c60fc (diff)
downloadgtk+-b303c20570cc491bfd650b1780ed166dea18920f.tar.gz
search entry: Add private api to get the text widget
We need this to do some custom setup in the Emoji chooser.
Diffstat (limited to 'gtk/gtksearchentryprivate.h')
-rw-r--r--gtk/gtksearchentryprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtksearchentryprivate.h b/gtk/gtksearchentryprivate.h
index 46b5d9f5b9..957b34cd07 100644
--- a/gtk/gtksearchentryprivate.h
+++ b/gtk/gtksearchentryprivate.h
@@ -26,12 +26,14 @@
#define __GTK_SEARCH_ENTRY_PRIVATE_H__
#include <gtk/gtksearchentry.h>
+#include <gtk/gtktext.h>
G_BEGIN_DECLS
gboolean gtk_search_entry_is_keynav (guint keyval,
GdkModifierType state);
+GtkText *gtk_search_entry_get_text_widget (GtkSearchEntry *entry);
GtkEventController * gtk_search_entry_get_key_controller (GtkSearchEntry *entry);
G_END_DECLS