summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-07-18 19:39:11 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-07-18 19:39:11 -0400
commit18a92992a0b2129635e13c3315423af546c4b6e3 (patch)
treeb63b65627eff5a3067e87dc2981d5fdb13767bd7
parent9b4001ed002b9e641ba49a1af1a261ef4d4a5471 (diff)
downloadgtk+-18a92992a0b2129635e13c3315423af546c4b6e3.tar.gz
GtkProgressBar: Set orientable style classes initially
This was an omission, horizontal/vertical would only be set when the orientation is changed.
-rw-r--r--gtk/gtkprogressbar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index 9291982d34..65399214a6 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -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