Merge branch 'progressbar-queue-allocate' into 'main'

progressbar: Queue allocate when setting "inverted"

See merge request GNOME/gtk!4264
This commit is contained in:
Matthias Clasen 2021-12-20 15:45:36 +00:00
commit d91a4ad1dd

View File

@ -1025,6 +1025,7 @@ gtk_progress_bar_set_inverted (GtkProgressBar *pbar,
pbar->inverted = inverted;
gtk_widget_queue_allocate (pbar->trough_widget);
update_node_classes (pbar);
g_object_notify_by_pspec (G_OBJECT (pbar), progress_props[PROP_INVERTED]);