Towards GSEAL-clean build on win32

Use accessors instead of direct member access in a few places.
Bug 625655.
This commit is contained in:
Sam Thursfield
2010-08-09 21:17:37 -04:00
committed by Matthias Clasen
parent 93fa95e79f
commit 4047d0526d
2 changed files with 23 additions and 16 deletions

View File

@ -1056,7 +1056,7 @@ map_gtk_progress_bar_to_xp (GtkProgressBar *progress_bar, gboolean trough)
{
XpThemeElement ret;
switch (progress_bar->orientation)
switch (gtk_progress_bar_get_orientation (progress_bar))
{
case GTK_PROGRESS_LEFT_TO_RIGHT:
case GTK_PROGRESS_RIGHT_TO_LEFT: