[aisleriot] sol: Fix card offset for extended slots



commit efeaf46095e92e0bec6133f8c994da113e650e31
Author: Christian Persch <chpe gnome org>
Date:   Tue Dec 6 20:12:21 2011 +0100

    sol: Fix card offset for extended slots
    
    Remove nonsense code.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=570576

 src/board-noclutter.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/board-noclutter.c b/src/board-noclutter.c
index 9ea2109..b44507c 100644
--- a/src/board-noclutter.c
+++ b/src/board-noclutter.c
@@ -583,12 +583,6 @@ slot_update_geometry (AisleriotBoard *board,
   xofs = priv->xoffset;
   yofs = priv->yoffset;
 
-  /* FIXMEchpe: what exactly is the purpose of the following lines? */
-  if (slot->expanded_right)
-    xofs = yofs;
-  if (slot->expanded_down)
-    yofs = xofs;
-
   if (priv->is_rtl) {
     slot->rect.x = priv->xslotstep * (priv->width - slot->x) - priv->card_size.width - xofs + priv->xbaseoffset;
   } else {



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