[gtk/wip/matthiasc/popup5: 167/186] popover: Stop needles allocations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 167/186] popover: Stop needles allocations
- Date: Tue, 28 May 2019 20:22:59 +0000 (UTC)
commit 40f2792bed018d72d2944902c447046d3141dff3
Author: Matthias Clasen <mclasen redhat com>
Date: Thu May 23 00:18:12 2019 +0000
popover: Stop needles allocations
We were queuing an allocation whenever
the popover is flipped over, unnecessarily,
since we don't change the size of the surface.
This was showing up as popovers being invisible
when flipped over, under X.
gtk/gtkpopover.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 368e5cc0b3..0a44ec3958 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -431,9 +431,6 @@ surface_moved_to_rect (GdkSurface *surface,
g_assert_not_reached ();
break;
}
-
- if (priv->final_position != priv->position)
- gtk_widget_queue_allocate (widget);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]