GtkProgressBar: Set orientable style classes initially

This was an omission, horizontal/vertical would only be set
when the orientation is changed.
This commit is contained in:
Matthias Clasen 2014-07-18 19:39:11 -04:00
parent 9b4001ed00
commit 18a92992a0

View File

@ -322,6 +322,7 @@ gtk_progress_bar_init (GtkProgressBar *pbar)
priv->fraction = 0.0;
gtk_widget_set_has_window (GTK_WIDGET (pbar), FALSE);
_gtk_orientable_set_style_classes (GTK_ORIENTABLE (pbar));
}
static void