[dia] Unshadow imgfn variable



commit 5c72cac99340136e6749f9f05fbadf5effee8b92
Author: Hans Breuer <hans breuer org>
Date:   Sun Jul 22 14:09:10 2012 +0200

    Unshadow imgfn variable

 objects/custom/shape_info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/objects/custom/shape_info.c b/objects/custom/shape_info.c
index ae6ec0e..d120a01 100644
--- a/objects/custom/shape_info.c
+++ b/objects/custom/shape_info.c
@@ -458,7 +458,7 @@ parse_svg_node(ShapeInfo *info, xmlNodePtr node, xmlNsPtr svg_ns,
 	    g_object_unref (pixbuf);
 	  }
 	} else {
-	  gchar *imgfn = g_filename_from_uri((gchar *) str, NULL, NULL);
+	  imgfn = g_filename_from_uri((gchar *) str, NULL, NULL);
           if (!imgfn)
 	    /* despite it's name it ensures an absolute filename */
             imgfn = custom_get_relative_filename(filename, (gchar *) str);



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