[gtk+] Adapt to progressbar api change
- From: Fridrich Strba <strba src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adapt to progressbar api change
- Date: Thu, 2 Sep 2010 08:25:00 +0000 (UTC)
commit e78851b9282c967517b15f95c24e10a119cc904d
Author: Fridrich Å trba <fridrich strba bluewin ch>
Date: Thu Sep 2 09:41:55 2010 +0200
Adapt to progressbar api change
modules/engines/ms-windows/msw_style.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/modules/engines/ms-windows/msw_style.c b/modules/engines/ms-windows/msw_style.c
index 8229ad0..17dbce4 100755
--- a/modules/engines/ms-windows/msw_style.c
+++ b/modules/engines/ms-windows/msw_style.c
@@ -900,10 +900,9 @@ map_gtk_progress_bar_to_xp (GtkProgressBar *progress_bar, gboolean trough)
{
XpThemeElement ret;
- switch (gtk_progress_bar_get_orientation (progress_bar))
+ switch (gtk_orientable_get_orientation (GTK_ORIENTABLE (progress_bar)))
{
- case GTK_PROGRESS_LEFT_TO_RIGHT:
- case GTK_PROGRESS_RIGHT_TO_LEFT:
+ case GTK_ORIENTATION_HORIZONTAL:
ret = trough
? XP_THEME_ELEMENT_PROGRESS_TROUGH_H
: XP_THEME_ELEMENT_PROGRESS_BAR_H;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]