Mercurial > geeqie
changeset 1003:4bfee4a63f86
const gpointer -> gconstpointer.
author | zas_ |
---|---|
date | Wed, 27 Aug 2008 16:40:21 +0000 |
parents | 3096a47232ec |
children | c1cd51926204 |
files | src/format_raw.c src/secure_save.c src/secure_save.h src/similar.c |
diffstat | 4 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/format_raw.c Tue Aug 26 22:37:18 2008 +0000 +++ b/src/format_raw.c Wed Aug 27 16:40:21 2008 +0000 @@ -42,7 +42,7 @@ const gchar *extension; FormatRawMatchType magic_type; const guint magic_offset; - const gpointer magic_pattern; + gconstpointer magic_pattern; const guint magic_length; const FormatRawExifType exif_type; FormatRawExifParseFunc exif_func; @@ -67,7 +67,7 @@ typedef struct _FormatExifEntry FormatExifEntry; struct _FormatExifEntry { FormatExifMatchType header_type; - const gpointer header_pattern; + gconstpointer header_pattern; const guint header_length; const gchar *description; FormatExifParseFunc func_parse;
--- a/src/secure_save.c Tue Aug 26 22:37:18 2008 +0000 +++ b/src/secure_save.c Wed Aug 27 16:40:21 2008 +0000 @@ -373,7 +373,7 @@ * the number of elements to write. If ssi->err is set when called, it immediatly returns 0. */ size_t -secure_fwrite(const gpointer ptr, size_t size, size_t nmemb, SecureSaveInfo *ssi) +secure_fwrite(gconstpointer ptr, size_t size, size_t nmemb, SecureSaveInfo *ssi) { size_t ret;
--- a/src/secure_save.h Tue Aug 26 22:37:18 2008 +0000 +++ b/src/secure_save.h Wed Aug 27 16:40:21 2008 +0000 @@ -22,7 +22,7 @@ gint secure_fputc(SecureSaveInfo *, gint); gint secure_fprintf(SecureSaveInfo *, const gchar *, ...); -size_t secure_fwrite(const gpointer ptr, size_t size, size_t nmemb, SecureSaveInfo *ssi); +size_t secure_fwrite(gconstpointer ptr, size_t size, size_t nmemb, SecureSaveInfo *ssi); gchar *secsave_strerror(SecureSaveErrno);
--- a/src/similar.c Tue Aug 26 22:37:18 2008 +0000 +++ b/src/similar.c Wed Aug 27 16:40:21 2008 +0000 @@ -68,7 +68,7 @@ g_free(sd); } -static gint image_sim_channel_eq_sort_cb(const gpointer a, const gpointer b) +static gint image_sim_channel_eq_sort_cb(gconstpointer a, gconstpointer b) { gint *pa = (gpointer)a; gint *pb = (gpointer)b;