Previous commit got a broken pipe.

This commit is contained in:
Simon Budig 2003-09-21 19:09:56 +00:00
parent 460b3e84e5
commit fa450f09b5
2 changed files with 12 additions and 4 deletions

View File

@ -1141,7 +1141,7 @@ gimp_vector_tool_status_update (GimpTool *tool,
new_status = _("Click to make this node angular."); new_status = _("Click to make this node angular.");
break; break;
case VECTORS_FINISHED: case VECTORS_FINISHED:
new_status = _("Nothing to see here. Move along."); new_status = " ";
break; break;
} }

View File

@ -35,6 +35,8 @@
#ifdef LIBART_STROKE #ifdef LIBART_STROKE
# include "libgimpcolor/gimpcolor.h" # include "libgimpcolor/gimpcolor.h"
# include "core/gimp.h"
# include "core/gimpcontext.h"
# include "core/gimpdrawable-stroke.h" # include "core/gimpdrawable-stroke.h"
#else #else
# include "paint/gimppaintcore-stroke.h" # include "paint/gimppaintcore-stroke.h"
@ -555,12 +557,18 @@ gimp_vectors_stroke (GimpItem *item,
#ifdef LIBART_STROKE #ifdef LIBART_STROKE
{ {
GimpContext *context;
GimpRGB color; GimpRGB color;
gimp_rgba_set (&color, 0.0, 0.7, 0.5, 1.0); context = gimp_get_current_context (
gimp_item_get_image (GIMP_ITEM (drawable))->gimp);
gimp_context_get_foreground (context, &color);
gimp_drawable_stroke_vectors (drawable, vectors, 0.5, &color, gimp_drawable_stroke_vectors (drawable, vectors,
GIMP_NORMAL_MODE, 15, gimp_context_get_opacity (context),
&color,
gimp_context_get_paint_mode (context),
14, /* width */
GIMP_JOIN_MITER, GIMP_CAP_SQUARE, TRUE); GIMP_JOIN_MITER, GIMP_CAP_SQUARE, TRUE);
retval = TRUE; retval = TRUE;
} }