[gnome-shell] [St] fix a bug noticed by gcc -O3



commit 1b03d5cb45f9c43b6456215882470a034a2e73c6
Author: Dan Winship <danw gnome org>
Date:   Mon Jul 12 14:24:16 2010 -0400

    [St] fix a bug noticed by gcc -O3
    
    https://bugzilla.gnome.org/show_bug.cgi?id=623295

 src/st/st-box-layout.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c
index 89fd91b..16c5b38 100644
--- a/src/st/st-box-layout.c
+++ b/src/st/st-box-layout.c
@@ -177,7 +177,7 @@ scrollable_get_adjustments (StScrollable  *scrollable,
 
   priv = (ST_BOX_LAYOUT (scrollable))->priv;
 
-  if (priv->hadjustment)
+  if (hadjustment)
     *hadjustment = priv->hadjustment;
 
   if (vadjustment)



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