mirror of https://github.com/GNOME/gimp.git
changed GimpBrush::get_extension() to return const gchar* instead of
2008-09-12 Michael Natterer <mitch@gimp.org> * app/core/gimpdata.h: changed GimpBrush::get_extension() to return const gchar* instead of gchar* * app/core/gimpbrush.c * app/core/gimpbrushgenerated.c * app/core/gimpcurve.c * app/core/gimpgradient.c * app/core/gimppalette.c * app/core/gimppattern.c: changed accordingly. svn path=/trunk/; revision=26935
This commit is contained in:
parent
4159bd63af
commit
c985f2e2a5
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2008-09-12 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimpdata.h: changed GimpBrush::get_extension() to return
|
||||
const gchar* instead of gchar*
|
||||
|
||||
* app/core/gimpbrush.c
|
||||
* app/core/gimpbrushgenerated.c
|
||||
* app/core/gimpcurve.c
|
||||
* app/core/gimpgradient.c
|
||||
* app/core/gimppalette.c
|
||||
* app/core/gimppattern.c: changed accordingly.
|
||||
|
||||
2008-09-11 Kevin Cozens <kcozens@cvs.gnome.org>
|
||||
|
||||
* plug-ins/script-fu/tinyscheme/CHANGES: Updating to match version
|
||||
|
|
|
@ -70,7 +70,7 @@ static TempBuf * gimp_brush_get_new_preview (GimpViewable *viewable,
|
|||
gint height);
|
||||
static gchar * gimp_brush_get_description (GimpViewable *viewable,
|
||||
gchar **tooltip);
|
||||
static gchar * gimp_brush_get_extension (GimpData *data);
|
||||
static const gchar * gimp_brush_get_extension (GimpData *data);
|
||||
|
||||
static GimpBrush * gimp_brush_real_select_brush (GimpBrush *brush,
|
||||
GimpCoords *last_coords,
|
||||
|
@ -335,7 +335,7 @@ gimp_brush_get_description (GimpViewable *viewable,
|
|||
brush->mask->height);
|
||||
}
|
||||
|
||||
static gchar *
|
||||
static const gchar *
|
||||
gimp_brush_get_extension (GimpData *data)
|
||||
{
|
||||
return GIMP_BRUSH_FILE_EXTENSION;
|
||||
|
|
|
@ -59,8 +59,9 @@ static void gimp_brush_generated_get_property (GObject *object,
|
|||
guint property_id,
|
||||
GValue *value,
|
||||
GParamSpec *pspec);
|
||||
|
||||
static void gimp_brush_generated_dirty (GimpData *data);
|
||||
static gchar * gimp_brush_generated_get_extension (GimpData *data);
|
||||
static const gchar * gimp_brush_generated_get_extension (GimpData *data);
|
||||
static GimpData * gimp_brush_generated_duplicate (GimpData *data);
|
||||
|
||||
static void gimp_brush_generated_scale_size (GimpBrush *gbrush,
|
||||
|
@ -256,7 +257,7 @@ gimp_brush_generated_dirty (GimpData *data)
|
|||
GIMP_DATA_CLASS (parent_class)->dirty (data);
|
||||
}
|
||||
|
||||
static gchar *
|
||||
static const gchar *
|
||||
gimp_brush_generated_get_extension (GimpData *data)
|
||||
{
|
||||
return GIMP_BRUSH_GENERATED_FILE_EXTENSION;
|
||||
|
|
|
@ -83,7 +83,7 @@ static gchar * gimp_curve_get_description (GimpViewable *viewable,
|
|||
gchar **tooltip);
|
||||
|
||||
static void gimp_curve_dirty (GimpData *data);
|
||||
static gchar * gimp_curve_get_extension (GimpData *data);
|
||||
static const gchar * gimp_curve_get_extension (GimpData *data);
|
||||
static GimpData * gimp_curve_duplicate (GimpData *data);
|
||||
|
||||
static gboolean gimp_curve_serialize (GimpConfig *config,
|
||||
|
@ -426,7 +426,7 @@ gimp_curve_dirty (GimpData *data)
|
|||
GIMP_DATA_CLASS (parent_class)->dirty (data);
|
||||
}
|
||||
|
||||
static gchar *
|
||||
static const gchar *
|
||||
gimp_curve_get_extension (GimpData *data)
|
||||
{
|
||||
return GIMP_CURVE_FILE_EXTENSION;
|
||||
|
|
|
@ -72,7 +72,7 @@ struct _GimpDataClass
|
|||
/* virtual functions */
|
||||
gboolean (* save) (GimpData *data,
|
||||
GError **error);
|
||||
gchar * (* get_extension) (GimpData *data);
|
||||
const gchar * (* get_extension) (GimpData *data);
|
||||
GimpData * (* duplicate) (GimpData *data);
|
||||
};
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ static TempBuf * gimp_gradient_get_new_preview (GimpViewable *viewable,
|
|||
GimpContext *context,
|
||||
gint width,
|
||||
gint height);
|
||||
static gchar * gimp_gradient_get_extension (GimpData *data);
|
||||
static const gchar * gimp_gradient_get_extension (GimpData *data);
|
||||
static GimpData * gimp_gradient_duplicate (GimpData *data);
|
||||
|
||||
static GimpGradientSegment *
|
||||
|
@ -293,7 +293,7 @@ gimp_gradient_get_standard (void)
|
|||
return standard_gradient;
|
||||
}
|
||||
|
||||
static gchar *
|
||||
static const gchar *
|
||||
gimp_gradient_get_extension (GimpData *data)
|
||||
{
|
||||
return GIMP_GRADIENT_FILE_EXTENSION;
|
||||
|
|
|
@ -63,11 +63,11 @@ static TempBuf * gimp_palette_get_new_preview (GimpViewable *viewable,
|
|||
gint height);
|
||||
static gchar * gimp_palette_get_description (GimpViewable *viewable,
|
||||
gchar **tooltip);
|
||||
static gchar * gimp_palette_get_extension (GimpData *data);
|
||||
static const gchar * gimp_palette_get_extension (GimpData *data);
|
||||
static GimpData * gimp_palette_duplicate (GimpData *data);
|
||||
|
||||
static void gimp_palette_entry_free (GimpPaletteEntry *entry);
|
||||
static gint64 gimp_palette_entry_get_memsize(GimpPaletteEntry *entry,
|
||||
static gint64 gimp_palette_entry_get_memsize (GimpPaletteEntry *entry,
|
||||
gint64 *gui_size);
|
||||
|
||||
|
||||
|
@ -289,7 +289,7 @@ gimp_palette_get_standard (void)
|
|||
return standard_palette;
|
||||
}
|
||||
|
||||
static gchar *
|
||||
static const gchar *
|
||||
gimp_palette_get_extension (GimpData *data)
|
||||
{
|
||||
return GIMP_PALETTE_FILE_EXTENSION;
|
||||
|
|
|
@ -48,7 +48,8 @@ static TempBuf * gimp_pattern_get_new_preview (GimpViewable *viewable,
|
|||
gint height);
|
||||
static gchar * gimp_pattern_get_description (GimpViewable *viewable,
|
||||
gchar **tooltip);
|
||||
static gchar * gimp_pattern_get_extension (GimpData *data);
|
||||
|
||||
static const gchar * gimp_pattern_get_extension (GimpData *data);
|
||||
static GimpData * gimp_pattern_duplicate (GimpData *data);
|
||||
|
||||
|
||||
|
@ -160,7 +161,7 @@ gimp_pattern_get_description (GimpViewable *viewable,
|
|||
pattern->mask->height);
|
||||
}
|
||||
|
||||
static gchar *
|
||||
static const gchar *
|
||||
gimp_pattern_get_extension (GimpData *data)
|
||||
{
|
||||
return GIMP_PATTERN_FILE_EXTENSION;
|
||||
|
|
Loading…
Reference in New Issue