From 3df625b7ff45c3be004786311064444770dc44e1 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Tue, 3 Oct 2006 11:10:20 +0000 Subject: [PATCH] keep the file extension defines here, just as we do it for brushes. 2006-10-03 Michael Natterer * app/core/gimpgradient-load.h: keep the file extension defines here, just as we do it for brushes. * app/core/gimpgradient.h: removed them here. * app/core/gimpgradient.c: changed accordingly. --- ChangeLog | 9 +++++++++ app/core/gimpgradient-load.h | 4 ++++ app/core/gimpgradient.c | 1 + app/core/gimpgradient.h | 5 +---- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index a0ef54165a..0ada76655e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-10-03 Michael Natterer + + * app/core/gimpgradient-load.h: keep the file extension defines + here, just as we do it for brushes. + + * app/core/gimpgradient.h: removed them here. + + * app/core/gimpgradient.c: changed accordingly. + 2006-10-03 Sven Neumann * app/core/gimpimage-convert.[ch] diff --git a/app/core/gimpgradient-load.h b/app/core/gimpgradient-load.h index 226594af3a..b2603fad82 100644 --- a/app/core/gimpgradient-load.h +++ b/app/core/gimpgradient-load.h @@ -20,6 +20,10 @@ #define __GIMP_GRADIENT_LOAD_H__ +#define GIMP_GRADIENT_FILE_EXTENSION ".ggr" +#define GIMP_GRADIENT_SVG_FILE_EXTENSION ".svg" + + GList * gimp_gradient_load (const gchar *filename, GError **error); GList * gimp_gradient_load_svg (const gchar *filename, diff --git a/app/core/gimpgradient.c b/app/core/gimpgradient.c index b7616e49d2..1e9d375c14 100644 --- a/app/core/gimpgradient.c +++ b/app/core/gimpgradient.c @@ -31,6 +31,7 @@ #include "gimpcontext.h" #include "gimpgradient.h" +#include "gimpgradient-load.h" #include "gimpgradient-save.h" diff --git a/app/core/gimpgradient.h b/app/core/gimpgradient.h index 2c3de7fd59..891801638f 100644 --- a/app/core/gimpgradient.h +++ b/app/core/gimpgradient.h @@ -23,10 +23,7 @@ #include "gimpdata.h" -#define GIMP_GRADIENT_FILE_EXTENSION ".ggr" -#define GIMP_GRADIENT_SVG_FILE_EXTENSION ".svg" - -#define GIMP_GRADIENT_DEFAULT_SAMPLE_SIZE 40 +#define GIMP_GRADIENT_DEFAULT_SAMPLE_SIZE 40 struct _GimpGradientSegment