diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2020-12-04 10:53:16 +0100 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2020-12-07 20:37:29 +0100 |
commit | 517bc0db843238455ef138bc9fc89f836833388c (patch) | |
tree | d843f4020c15c03afcfda10f0c765a6cbac77212 /gtk/gtktextview.c | |
parent | 369b03a3d80760935d991828376c1dca7ac9a4a2 (diff) | |
download | gtk+-517bc0db843238455ef138bc9fc89f836833388c.tar.gz |
gtk/texthandle: Use gtk_text_handle_present() instead of GtkNative
Diffstat (limited to 'gtk/gtktextview.c')
-rw-r--r-- | gtk/gtktextview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 5e26378748..ce097cb586 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -4537,10 +4537,10 @@ gtk_text_view_size_allocate (GtkWidget *widget, gtk_popover_present (GTK_POPOVER (priv->popup_menu)); 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]); if (priv->selection_bubble) gtk_popover_present (GTK_POPOVER (priv->selection_bubble)); |