gegl r2655 - in trunk: . gegl operations/workshop
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2655 - in trunk: . gegl operations/workshop
- Date: Mon, 20 Oct 2008 23:23:57 +0000 (UTC)
Author: ok
Date: Mon Oct 20 23:23:57 2008
New Revision: 2655
URL: http://svn.gnome.org/viewvc/gegl?rev=2655&view=rev
Log:
* gegl/gegl.h.in: missed in s/Vector/Path/ replace.
* operations/workshop/stroke.c: (process), (gegl_chant_class_init):
updated to work with new path api.
Modified:
trunk/ChangeLog
trunk/gegl/gegl.h.in
trunk/operations/workshop/stroke.c
Modified: trunk/gegl/gegl.h.in
==============================================================================
--- trunk/gegl/gegl.h.in (original)
+++ trunk/gegl/gegl.h.in Mon Oct 20 23:23:57 2008
@@ -866,7 +866,7 @@
} GeglPadType;
typedef struct _GeglCurve GeglCurve;
-typedef struct _GeglVector GeglVector;
+typedef struct _GeglPath GeglPath;
typedef struct _GeglColor GeglColor;
#endif
Modified: trunk/operations/workshop/stroke.c
==============================================================================
--- trunk/operations/workshop/stroke.c (original)
+++ trunk/operations/workshop/stroke.c Mon Oct 20 23:23:57 2008
@@ -81,7 +81,7 @@
GeglRectangle box = get_bounding_box (operation);
gegl_buffer_clear (output, &box);
- g_object_set_data (operation, "path-radius", GINT_TO_POINTER((gint)(o->linewidth+1)/2));
+ g_object_set_data (G_OBJECT (operation), "path-radius", GINT_TO_POINTER((gint)(o->linewidth+1)/2));
gegl_path_stroke (output, o->path, o->color, o->linewidth, o->hardness);
return TRUE;
@@ -104,7 +104,7 @@
operation_class->name = "gegl:stroke";
operation_class->categories = "render";
operation_class->description = _("Renders a brush stroke");
- operation_class->get_cached_region = get_cached_region;
+ operation_class->get_cached_region = (void*)get_cached_region;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]