From e8daf0a39f9848dace761a9f85eac1fd940e551f Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Fri, 5 Dec 2008 06:21:29 +0000 Subject: Warning cleanup. (bzr r6947) --- src/sp-rect.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/sp-rect.cpp') diff --git a/src/sp-rect.cpp b/src/sp-rect.cpp index c568b44be..6030991e2 100644 --- a/src/sp-rect.cpp +++ b/src/sp-rect.cpp @@ -1,5 +1,3 @@ -#define __SP_RECT_C__ - /* * SVG implementation * @@ -546,15 +544,15 @@ sp_rect_get_visible_height(SPRect *rect) /** * Sets the snappoint p to the unrounded corners of the rectangle */ -static void sp_rect_snappoints(SPItem const *item, SnapPointsIter p, Inkscape::SnapPreferences const *snapprefs) +static void sp_rect_snappoints(SPItem const *item, SnapPointsIter p, Inkscape::SnapPreferences const */*snapprefs*/) { /* This method overrides sp_shape_snappoints, which is the default for any shape. The default method returns all eight points along the path of a rounded rectangle, but not the real corners. Snapping - the startpoint and endpoint of each rounded corner is not very usefull and really confusing. Instead + the startpoint and endpoint of each rounded corner is not very usefull and really confusing. Instead we could snap either the real corners, or not snap at all. Bulia Byak opted to snap the real corners, - but it should be noted that this might be confusing in some cases with relatively large radii. With + but it should be noted that this might be confusing in some cases with relatively large radii. With small radii though the user will easily understand which point is snapping. */ - + g_assert(item != NULL); g_assert(SP_IS_RECT(item)); -- cgit v1.2.3