formatting.

2007-08-11  Michael Natterer  <mitch@gimp.org>

	* app/vectors/gimpstroke-new.[ch]: formatting.


svn path=/trunk/; revision=23218
This commit is contained in:
Michael Natterer 2007-08-11 19:40:22 +00:00 committed by Michael Natterer
parent cd164058b8
commit 66ce241acf
3 changed files with 16 additions and 13 deletions

View File

@ -1,3 +1,7 @@
2007-08-11 Michael Natterer <mitch@gimp.org>
* app/vectors/gimpstroke-new.[ch]: formatting.
2007-08-11 Michael Natterer <mitch@gimp.org>
* app/plug-in/Makefile.am: renamed files:

View File

@ -25,8 +25,6 @@
#include "vectors-types.h"
#include "core/gimpcoords.h"
#include "gimpstroke-new.h"
#include "gimpbezierstroke.h"
@ -39,12 +37,12 @@ gimp_stroke_new_from_coords (GimpVectorsStrokeType type,
{
switch (type)
{
case GIMP_VECTORS_STROKE_TYPE_BEZIER:
return gimp_bezier_stroke_new_from_coords (coords, n_coords, closed);
break;
default:
g_warning ("unknown type in gimp_stroke_new_from_coords(): %d", type);
return NULL;
case GIMP_VECTORS_STROKE_TYPE_BEZIER:
return gimp_bezier_stroke_new_from_coords (coords, n_coords, closed);
break;
default:
g_warning ("unknown type in gimp_stroke_new_from_coords(): %d", type);
return NULL;
}
}

View File

@ -22,10 +22,11 @@
#ifndef __GIMP_VECTORS_NEW_H__
#define __GIMP_VECTORS_NEW_H__
GimpStroke *
gimp_stroke_new_from_coords (GimpVectorsStrokeType type,
const GimpCoords *coords,
gint n_coords,
gboolean closed);
GimpStroke * gimp_stroke_new_from_coords (GimpVectorsStrokeType type,
const GimpCoords *coords,
gint n_coords,
gboolean closed);
#endif /* __GIMP_VECTORS_NEW_H__ */