Commit c860d805 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

app/paint/gimppaintcore-stroke.c s/paint_options !=

2003-03-03  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore-stroke.c
	* app/paint/gimppaintcore.c:
	s/paint_options != NULL/GIMP_IS_PAINT_OPTIONS (paint_options)/g
parent 594bccd5
2003-03-03 Michael Natterer <mitch@gimp.org>
* app/paint/gimppaintcore-stroke.c
* app/paint/gimppaintcore.c:
s/paint_options != NULL/GIMP_IS_PAINT_OPTIONS (paint_options)/g
2003-03-03 Hans Breuer <hans@breuer.org>
 
* app/text/makefile.msc (new file)
......@@ -29,6 +29,7 @@
#include "gimppaintcore.h"
#include "gimppaintcore-stroke.h"
#include "gimppaintoptions.h"
gboolean
......@@ -40,7 +41,7 @@ gimp_paint_core_stroke (GimpPaintCore *core,
{
g_return_val_if_fail (GIMP_IS_PAINT_CORE (core), FALSE);
g_return_val_if_fail (GIMP_IS_DRAWABLE (drawable), FALSE);
g_return_val_if_fail (paint_options != NULL, FALSE);
g_return_val_if_fail (GIMP_IS_PAINT_OPTIONS (paint_options), FALSE);
g_return_val_if_fail (strokes != NULL, FALSE);
g_return_val_if_fail (n_strokes > 0, FALSE);
......@@ -88,7 +89,7 @@ gimp_paint_core_stroke_vectors (GimpPaintCore *core,
g_return_val_if_fail (GIMP_IS_PAINT_CORE (core), FALSE);
g_return_val_if_fail (GIMP_IS_DRAWABLE (drawable), FALSE);
g_return_val_if_fail (paint_options != NULL, FALSE);
g_return_val_if_fail (GIMP_IS_PAINT_OPTIONS (paint_options), FALSE);
g_return_val_if_fail (GIMP_IS_VECTORS (vectors), FALSE);
/* gimp_stroke_interpolate() may return NULL, so iterate over the
......
......@@ -303,7 +303,7 @@ gimp_paint_core_paint (GimpPaintCore *core,
{
g_return_if_fail (GIMP_IS_PAINT_CORE (core));
g_return_if_fail (GIMP_IS_DRAWABLE (drawable));
g_return_if_fail (paint_options != NULL);
g_return_if_fail (GIMP_IS_PAINT_OPTIONS (paint_options));
if (paint_state == MOTION_PAINT)
{
......@@ -349,7 +349,7 @@ gimp_paint_core_start (GimpPaintCore *core,
g_return_val_if_fail (GIMP_IS_PAINT_CORE (core), FALSE);
g_return_val_if_fail (GIMP_IS_DRAWABLE (drawable), FALSE);
g_return_val_if_fail (paint_options != NULL, FALSE);
g_return_val_if_fail (GIMP_IS_PAINT_OPTIONS (paint_options), FALSE);
g_return_val_if_fail (coords != NULL, FALSE);
gimage = gimp_item_get_image (GIMP_ITEM (drawable));
......@@ -576,7 +576,7 @@ gimp_paint_core_interpolate (GimpPaintCore *core,
g_return_if_fail (GIMP_IS_PAINT_CORE (core));
g_return_if_fail (GIMP_IS_DRAWABLE (drawable));
g_return_if_fail (paint_options != NULL);
g_return_if_fail (GIMP_IS_PAINT_OPTIONS (paint_options));
gimp_avoid_exact_integer (&core->last_coords.x);
gimp_avoid_exact_integer (&core->last_coords.y);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment