[gtk/wip/matthiasc/context-menu: 34/38] textview: Don't forget to allocate the context menu
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/context-menu: 34/38] textview: Don't forget to allocate the context menu
- Date: Thu, 13 Jun 2019 00:23:53 +0000 (UTC)
commit 19e13a548166cf8517ae80732714cc0ee75f9e0f
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jun 12 19:15:57 2019 +0000
textview: Don't forget to allocate the context menu
We do our own context menu, so we are responsible
for allocating it.
gtk/gtktextview.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 580837eeb6..cd27844604 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -4150,6 +4150,9 @@ gtk_text_view_size_allocate (GtkWidget *widget,
if (priv->magnifier_popover)
gtk_native_check_resize (GTK_NATIVE (priv->magnifier_popover));
+
+ if (priv->popup_menu)
+ gtk_native_check_resize (GTK_NATIVE (priv->popup_menu));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]