Revision: 1098
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1098&view=rev
Author:   zas_
Date:     2008-08-27 16:40:21 +0000 (Wed, 27 Aug 2008)

Log Message:
-----------
const gpointer -> gconstpointer.

Modified Paths:
--------------
    trunk/src/format_raw.c
    trunk/src/secure_save.c
    trunk/src/secure_save.h
    trunk/src/similar.c

Modified: trunk/src/format_raw.c
===================================================================
--- trunk/src/format_raw.c      2008-08-26 22:37:18 UTC (rev 1097)
+++ trunk/src/format_raw.c      2008-08-27 16:40:21 UTC (rev 1098)
@@ -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;

Modified: trunk/src/secure_save.c
===================================================================
--- trunk/src/secure_save.c     2008-08-26 22:37:18 UTC (rev 1097)
+++ trunk/src/secure_save.c     2008-08-27 16:40:21 UTC (rev 1098)
@@ -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;
 

Modified: trunk/src/secure_save.h
===================================================================
--- trunk/src/secure_save.h     2008-08-26 22:37:18 UTC (rev 1097)
+++ trunk/src/secure_save.h     2008-08-27 16:40:21 UTC (rev 1098)
@@ -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);
 

Modified: trunk/src/similar.c
===================================================================
--- trunk/src/similar.c 2008-08-26 22:37:18 UTC (rev 1097)
+++ trunk/src/similar.c 2008-08-27 16:40:21 UTC (rev 1098)
@@ -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;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to