summaryrefslogtreecommitdiffstats
path: root/src/pen-context.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2008-05-24 21:27:44 +0000
committerjoncruz <joncruz@users.sourceforge.net>2008-05-24 21:27:44 +0000
commite137988b879c1ec037ae4435fd130b6536bc3958 (patch)
treee20c1da73adfe41b415c357b033d04c0cfc03b84 /src/pen-context.cpp
parentthis hack does not seem to be needed with modern gtk, and it prevents remembe... (diff)
downloadinkscape-e137988b879c1ec037ae4435fd130b6536bc3958.tar.gz
inkscape-e137988b879c1ec037ae4435fd130b6536bc3958.zip
Removed g_free() calls that now refer to static strings
(bzr r5751)
Diffstat (limited to 'src/pen-context.cpp')
-rw-r--r--src/pen-context.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pen-context.cpp b/src/pen-context.cpp
index b63efdf56..8d7ac0819 100644
--- a/src/pen-context.cpp
+++ b/src/pen-context.cpp
@@ -1139,7 +1139,6 @@ spdc_pen_set_subsequent_point(SPPenContext *const pc, NR::Point const p, bool st
_("<b>Curve segment</b>: angle %3.2f&#176;, distance %s; with <b>Ctrl</b> to snap angle, <b>Enter</b> to finish the path" ):
_("<b>Line segment</b>: angle %3.2f&#176;, distance %s; with <b>Ctrl</b> to snap angle, <b>Enter</b> to finish the path");
spdc_pen_set_angle_distance_status_message(pc, p, 0, message);
- g_free(message);
}
}
@@ -1181,7 +1180,6 @@ spdc_pen_set_ctrl(SPPenContext *const pc, NR::Point const p, guint const state)
_("<b>Curve handle, symmetric</b>: angle %3.2f&#176;, length %s; with <b>Ctrl</b> to snap angle, with <b>Shift</b> to move this handle only") :
_("<b>Curve handle</b>: angle %3.2f&#176;, length %s; with <b>Ctrl</b> to snap angle, with <b>Shift</b> to move this handle only");
spdc_pen_set_angle_distance_status_message(pc, p, 3, message);
- g_free(message);
} else {
g_warning("Something bad happened - npoints is %d", pc->npoints);
}