forked from AuroraMiddleware/gtk
popover: Explicitly call queue_allocate in tick callback
_gtk_window_set_popover_position is begin called in size-allocate.
This commit is contained in:
parent
d5fd2dca66
commit
c4c6a20998
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user