mirror of https://github.com/GNOME/gimp.git
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:
parent
cd164058b8
commit
66ce241acf
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Loading…
Reference in New Issue