minor cleanup.

2006-08-30  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpbrushcore.c: minor cleanup.
This commit is contained in:
Michael Natterer
2006-08-29 20:19:28 +00:00
committed by Michael Natterer
parent d34ff5537d
commit 9a85ba5b3a
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2006-08-30 Michael Natterer <mitch@gimp.org>
* app/paint/gimpbrushcore.c: minor cleanup.
2006-08-29 Sven Neumann <sven@gimp.org> 2006-08-29 Sven Neumann <sven@gimp.org>
* libgimpbase/Makefile.am * libgimpbase/Makefile.am

View File

@ -722,14 +722,17 @@ void
gimp_brush_core_set_brush (GimpBrushCore *core, gimp_brush_core_set_brush (GimpBrushCore *core,
GimpBrush *brush) GimpBrush *brush)
{ {
g_return_if_fail (GIMP_IS_BRUSH_CORE (core));
g_return_if_fail (brush == NULL || GIMP_IS_BRUSH (brush));
g_signal_emit (core, core_signals[SET_BRUSH], 0, brush); g_signal_emit (core, core_signals[SET_BRUSH], 0, brush);
} }
void void
gimp_brush_core_paste_canvas (GimpBrushCore *core, gimp_brush_core_paste_canvas (GimpBrushCore *core,
GimpDrawable *drawable, GimpDrawable *drawable,
gdouble brush_opacity, gdouble brush_opacity,
gdouble image_opacity, gdouble image_opacity,
GimpLayerModeEffects paint_mode, GimpLayerModeEffects paint_mode,
GimpBrushApplicationMode brush_hardness, GimpBrushApplicationMode brush_hardness,
GimpPaintApplicationMode mode) GimpPaintApplicationMode mode)
@ -771,7 +774,7 @@ gimp_brush_core_paste_canvas (GimpBrushCore *core,
*/ */
void void
gimp_brush_core_replace_canvas (GimpBrushCore *core, gimp_brush_core_replace_canvas (GimpBrushCore *core,
GimpDrawable *drawable, GimpDrawable *drawable,
gdouble brush_opacity, gdouble brush_opacity,
gdouble image_opacity, gdouble image_opacity,
GimpBrushApplicationMode brush_hardness, GimpBrushApplicationMode brush_hardness,
@ -1476,4 +1479,3 @@ paint_line_pixmap_mask (GimpImage *dest,
} }
} }
} }