[gimp] app: remove unused variables in gimp_drawable_duplicate()



commit c07811f0a3dcc8a24799e83b512864c2e062fe45
Author: Michael Natterer <mitch gimp org>
Date:   Wed Mar 16 02:06:21 2011 +0100

    app: remove unused variables in gimp_drawable_duplicate()

 app/core/gimpdrawable.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index d948830..86955fc 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -412,10 +412,6 @@ gimp_drawable_duplicate (GimpItem *item,
       GimpImageType  image_type   = gimp_drawable_type (drawable);
       PixelRegion    srcPR;
       PixelRegion    destPR;
-      gint           offset_x;
-      gint           offset_y;
-
-      gimp_item_get_offset (item, &offset_x, &offset_y);
 
       new_drawable->private->type = image_type;
 



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