]> git.sur5r.net Git - glabels/commitdiff
Removed some artifacts in copy() method. In particular a g_free() on an unitialized...
authorJim Evins <evins@snaught.com>
Fri, 12 Dec 2003 03:22:14 +0000 (03:22 +0000)
committerJim Evins <evins@snaught.com>
Fri, 12 Dec 2003 03:22:14 +0000 (03:22 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@371 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels2/src/label-text.c

index 883e54a21361f78689f82942591289ebd20e66c7..2bd0380c5c7498c035f3933c60357c4d9f8a8b85 100644 (file)
@@ -229,12 +229,6 @@ copy (glLabelObject *dst_object,
        glLabelText      *ltext     = (glLabelText *)src_object;
        glLabelText      *new_ltext = (glLabelText *)dst_object;
        GList            *lines;
-       gchar            *font_family;
-       gdouble           font_size;
-       GnomeFontWeight   font_weight;
-       gboolean          font_italic_flag;
-       guint             color;
-       GtkJustification  just;
 
        gl_debug (DEBUG_LABEL, "START");
 
@@ -252,7 +246,6 @@ copy (glLabelObject *dst_object,
        new_ltext->private->just             = ltext->private->just;
 
        gl_text_node_lines_free (&lines);
-       g_free (font_family);
 
        gl_debug (DEBUG_LABEL, "END");
 }