[gtk+] GtkProgressBar: Set orientable style classes initially
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkProgressBar: Set orientable style classes initially
- Date: Fri, 18 Jul 2014 23:40:50 +0000 (UTC)
commit 18a92992a0b2129635e13c3315423af546c4b6e3
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 18 19:39:11 2014 -0400
GtkProgressBar: Set orientable style classes initially
This was an omission, horizontal/vertical would only be set
when the orientation is changed.
gtk/gtkprogressbar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index 9291982..6539921 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]