summaryrefslogtreecommitdiff
path: root/gtk/gtktext.c
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-12-04 10:53:16 +0100
committerJonas Ådahl <jadahl@gmail.com>2020-12-07 20:37:29 +0100
commit517bc0db843238455ef138bc9fc89f836833388c (patch)
treed843f4020c15c03afcfda10f0c765a6cbac77212 /gtk/gtktext.c
parent369b03a3d80760935d991828376c1dca7ac9a4a2 (diff)
downloadgtk+-517bc0db843238455ef138bc9fc89f836833388c.tar.gz
gtk/texthandle: Use gtk_text_handle_present() instead of GtkNative
Diffstat (limited to 'gtk/gtktext.c')
-rw-r--r--gtk/gtktext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index 427bb9a891..c39e007d61 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -2465,10 +2465,10 @@ gtk_text_size_allocate (GtkWidget *widget,
gtk_popover_present (GTK_POPOVER (priv->selection_bubble));
if (priv->text_handles[TEXT_HANDLE_CURSOR])
- gtk_native_check_resize (GTK_NATIVE (priv->text_handles[TEXT_HANDLE_CURSOR]));
+ gtk_text_handle_present (priv->text_handles[TEXT_HANDLE_CURSOR]);
if (priv->text_handles[TEXT_HANDLE_SELECTION_BOUND])
- gtk_native_check_resize (GTK_NATIVE (priv->text_handles[TEXT_HANDLE_SELECTION_BOUND]));
+ gtk_text_handle_present (priv->text_handles[TEXT_HANDLE_SELECTION_BOUND]);
}
static void