[gtk/wip/matthiasc/popup5: 120/186] entry: Allocate popovers



commit 9e84c363fa9984ffebf7932d5184dfe2f5e41fa6
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 4 18:10:12 2019 +0000

    entry: Allocate popovers

 gtk/gtkentry.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 193f2a9a29..67c986acff 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -72,6 +72,7 @@
 #include "gtktypebuiltins.h"
 #include "gtkwidgetprivate.h"
 #include "gtkwindow.h"
+#include "gtknative.h"
 
 #include "a11y/gtkentryaccessible.h"
 
@@ -1629,6 +1630,9 @@ gtk_entry_size_allocate (GtkWidget *widget,
       if (completion)
         _gtk_entry_completion_resize_popup (completion);
     }
+
+  if (priv->emoji_chooser)
+    gtk_native_check_resize (GTK_NATIVE (priv->emoji_chooser));
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]