summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkpopover.c1
-rw-r--r--gtk/gtkwindow.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 19a4e380e8..fb47a7b0c7 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -670,6 +670,7 @@ show_animate_cb (GtkWidget *widget,
}
gtk_popover_update_position (popover);
+ gtk_widget_queue_allocate (GTK_WIDGET (priv->window));
if (gtk_progress_tracker_get_state (&priv->tracker) == GTK_PROGRESS_STATE_AFTER)
{
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 348eb584ed..9ad57c6130 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -10757,8 +10757,6 @@ _gtk_window_set_popover_position (GtkWindow *window,
data->rect = *rect;
data->pos = pos;
-
- gtk_widget_queue_allocate (GTK_WIDGET (window));
}
void