[glabels/gtk3] Fixed stupid typo.



commit 6e743df0f244177ac9e503c6114b344e0052b71c
Author: Jim Evins <evins snaught com>
Date:   Sun Nov 14 22:49:58 2010 -0500

    Fixed stupid typo.
    
    Must of been temporary insanity.  I had replaced a g_unlink with a g_free
    a while back.  Hanging my head in shame.

 libglabels/db.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libglabels/db.c b/libglabels/db.c
index 4f76910..9880eb0 100644
--- a/libglabels/db.c
+++ b/libglabels/db.c
@@ -1575,7 +1575,7 @@ lgl_db_delete_template_by_name (const gchar *name)
 		filename = g_strdup_printf ("%s_%s.template", template->brand, template->part);
 		abs_filename = g_build_filename (dir, filename, NULL);
 
-                g_free (abs_filename);
+                g_unlink (abs_filename);
 
 		g_free (dir);
 		g_free (filename);



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