Commit f5848c6c authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

added const qualifier.

2006-05-02  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpproceduraldb.[ch] (gimp_procedural_db_set_data):
	added const qualifier.
parent 123b9283
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment