mirror of https://github.com/GNOME/gimp.git
added const qualifier.
2006-05-02 Sven Neumann <sven@gimp.org> * libgimp/gimpproceduraldb.[ch] (gimp_procedural_db_set_data): added const qualifier.
This commit is contained in:
parent
123b9283d7
commit
f5848c6c42
|
@ -1,3 +1,8 @@
|
|||
2006-05-02 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimpproceduraldb.[ch] (gimp_procedural_db_set_data):
|
||||
added const qualifier.
|
||||
|
||||
2006-05-02 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* fileicon.ico
|
||||
|
|
|
@ -142,7 +142,7 @@ gimp_procedural_db_get_data (const gchar *identifier,
|
|||
&hack);
|
||||
if (hack)
|
||||
{
|
||||
memcpy (data, (gpointer) hack, size * sizeof (guint8));
|
||||
memcpy (data, (gconstpointer) hack, size * sizeof (guint8));
|
||||
g_free (hack);
|
||||
}
|
||||
|
||||
|
@ -164,9 +164,9 @@ gimp_procedural_db_get_data (const gchar *identifier,
|
|||
* Returns: TRUE on success.
|
||||
*/
|
||||
gboolean
|
||||
gimp_procedural_db_set_data (const gchar *identifier,
|
||||
gpointer data,
|
||||
guint32 bytes)
|
||||
gimp_procedural_db_set_data (const gchar *identifier,
|
||||
gconstpointer data,
|
||||
guint32 bytes)
|
||||
{
|
||||
return _gimp_procedural_db_set_data (identifier,
|
||||
bytes,
|
||||
|
|
|
@ -41,7 +41,7 @@ gboolean gimp_procedural_db_proc_info (const gchar *procedure,
|
|||
gboolean gimp_procedural_db_get_data (const gchar *identifier,
|
||||
gpointer data);
|
||||
gboolean gimp_procedural_db_set_data (const gchar *identifier,
|
||||
gpointer data,
|
||||
gconstpointer data,
|
||||
guint32 bytes);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue