[gtk+/refactor: 93/106] Use accessor functions to access GtkScale



commit de9c5f8d3d57a7909e721e433a5f6ef8e705db34
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Jul 8 04:14:44 2010 +0200

    Use accessor functions to access GtkScale

 gtk/gtkrange.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index b3fd663..430764a 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -2760,7 +2760,7 @@ gtk_range_adjustment_value_changed (GtkAdjustment *adjustment,
   
   /* now check whether the layout changed  */
   if (layout_changed (range->layout, &layout) ||
-      (GTK_IS_SCALE (range) && GTK_SCALE (range)->draw_value))
+      (GTK_IS_SCALE (range) && gtk_scale_get_draw_value (GTK_SCALE (range))))
     {
       gtk_widget_queue_draw (GTK_WIDGET (range));
       /* setup a timer to ensure the range isn't lagging too much behind the scroll position */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]