mirror of https://github.com/GNOME/gimp.git
added GimpGradientSegment typedef.
2003-07-08 Michael Natterer <mitch@gimp.org> * app/core/core-types.h: added GimpGradientSegment typedef. * app/core/gimpgradient.h: removed it here. * app/core/gimpgradient.c: no need to cast the return value of g_object_new().
This commit is contained in:
parent
6ea9c30b13
commit
efb6ff5b27
|
@ -1,3 +1,12 @@
|
|||
2003-07-08 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/core-types.h: added GimpGradientSegment typedef.
|
||||
|
||||
* app/core/gimpgradient.h: removed it here.
|
||||
|
||||
* app/core/gimpgradient.c: no need to cast the return value
|
||||
of g_object_new().
|
||||
|
||||
2003-07-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* themes/Default/images/stock-wilber-32.png
|
||||
|
|
|
@ -121,6 +121,8 @@ typedef struct _GimpUndoAccumulator GimpUndoAccumulator;
|
|||
|
||||
typedef struct _GimpCoords GimpCoords;
|
||||
|
||||
typedef struct _GimpGradientSegment GimpGradientSegment;
|
||||
|
||||
typedef struct _GimpGuide GimpGuide;
|
||||
|
||||
typedef struct _GimpProgress GimpProgress;
|
||||
|
|
|
@ -267,7 +267,7 @@ gimp_gradient_duplicate (GimpData *data,
|
|||
GimpGradient *gradient;
|
||||
GimpGradientSegment *head, *prev, *cur, *orig;
|
||||
|
||||
gradient = GIMP_GRADIENT (g_object_new (GIMP_TYPE_GRADIENT, NULL));
|
||||
gradient = g_object_new (GIMP_TYPE_GRADIENT, NULL);
|
||||
|
||||
gimp_data_dirty (GIMP_DATA (gradient));
|
||||
|
||||
|
|
|
@ -28,8 +28,6 @@
|
|||
#define GIMP_GRADIENT_DEFAULT_SAMPLE_SIZE 40
|
||||
|
||||
|
||||
typedef struct _GimpGradientSegment GimpGradientSegment;
|
||||
|
||||
struct _GimpGradientSegment
|
||||
{
|
||||
gdouble left, middle, right;
|
||||
|
|
Loading…
Reference in New Issue