[gtk/wip/matthiasc/popup5: 134/187] color swatch: Allocate popovers
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 134/187] color swatch: Allocate popovers
- Date: Thu, 23 May 2019 11:04:49 +0000 (UTC)
commit 8cb5b8071622e044f069665a0d43a2f28f364093
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 4 18:43:04 2019 +0000
color swatch: Allocate popovers
gtk/gtkcolorswatch.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gtk/gtkcolorswatch.c b/gtk/gtkcolorswatch.c
index 7ad2bb0945..0fa499b429 100644
--- a/gtk/gtkcolorswatch.c
+++ b/gtk/gtkcolorswatch.c
@@ -39,6 +39,7 @@
#include "gtkstylecontextprivate.h"
#include "gtkwidgetprivate.h"
#include "gtkeventcontrollerkey.h"
+#include "gtknative.h"
#include "a11y/gtkcolorswatchaccessibleprivate.h"
@@ -362,6 +363,9 @@ swatch_size_allocate (GtkWidget *widget,
0, 0,
width, height
}, -1);
+
+ if (priv->popover)
+ gtk_native_check_resize (GTK_NATIVE (priv->popover));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]