GtkPopover: Don't resize during the transition

Call gtk_popover_update_position instead which will pick up the new
transition_diff value and pass it on to
_gtk_window_set_popover_position, which in turn will move the window
correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=755435
This commit is contained in:
Timm Bäder 2015-09-22 20:27:51 +02:00
parent b92213e49d
commit 8a6b720632

View File

@ -517,7 +517,7 @@ show_animate_cb (GtkWidget *widget,
gtk_widget_set_opacity (widget, 1.0 - t);
}
gtk_widget_queue_resize (GTK_WIDGET (popover));
gtk_popover_update_position (popover);
if (t >= 1.0)
{