mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 05:00:09 +00:00
Add a private getter for the textview key controller
This will be used in tests.
This commit is contained in:
parent
c63774967f
commit
253e25a73c
@ -10016,3 +10016,9 @@ gtk_text_view_get_rtl_context (GtkTextView *text_view)
|
||||
|
||||
return text_view->priv->layout->rtl_context;
|
||||
}
|
||||
|
||||
GtkEventController *
|
||||
gtk_text_view_get_key_controller (GtkTextView *text_view)
|
||||
{
|
||||
return text_view->priv->key_controller;
|
||||
}
|
||||
|
@ -30,6 +30,8 @@ GtkCssNode * gtk_text_view_get_selection_node (GtkTextView *text_view)
|
||||
|
||||
GtkTextAttributes * gtk_text_view_get_default_attributes (GtkTextView *text_view);
|
||||
|
||||
GtkEventController *gtk_text_view_get_key_controller (GtkTextView *text_view);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user