popover: Explicitly call queue_allocate in tick callback

_gtk_window_set_popover_position is begin called in size-allocate.
This commit is contained in:
Timm Bäder 2017-10-14 12:45:17 +02:00
parent d5fd2dca66
commit c4c6a20998
2 changed files with 1 additions and 2 deletions

View File

@ -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)
{

View File

@ -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