Commit e4c9d1a3 authored by Benjamin Otte's avatar Benjamin Otte

gdk: Constify argument to gdk_rgba_copy()

parent d55073fd
......@@ -49,7 +49,7 @@ G_DEFINE_BOXED_TYPE (GdkRGBA, gdk_rgba,
* Since: 3.0
**/
GdkRGBA *
gdk_rgba_copy (GdkRGBA *rgba)
gdk_rgba_copy (const GdkRGBA *rgba)
{
GdkRGBA *copy;
......
......@@ -45,7 +45,7 @@ struct _GdkRGBA
#define GDK_TYPE_RGBA (gdk_rgba_get_type ())
GdkRGBA * gdk_rgba_copy (GdkRGBA *rgba);
GdkRGBA * gdk_rgba_copy (const GdkRGBA *rgba);
void gdk_rgba_free (GdkRGBA *rgba);
gboolean gdk_rgba_parse (GdkRGBA *rgba,
......
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