mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Make gdk_rgba_to_string() take a const GdkRGBA
https://bugzilla.gnome.org/show_bug.cgi?id=633216
This commit is contained in:
parent
630b2c58b4
commit
edec3e12dd
@ -267,7 +267,7 @@ gdk_rgba_equal (gconstpointer p1,
|
|||||||
* Returns: A newly allocated text string
|
* Returns: A newly allocated text string
|
||||||
**/
|
**/
|
||||||
gchar *
|
gchar *
|
||||||
gdk_rgba_to_string (GdkRGBA *rgba)
|
gdk_rgba_to_string (const GdkRGBA *rgba)
|
||||||
{
|
{
|
||||||
gchar red[G_ASCII_DTOSTR_BUF_SIZE];
|
gchar red[G_ASCII_DTOSTR_BUF_SIZE];
|
||||||
gchar green[G_ASCII_DTOSTR_BUF_SIZE];
|
gchar green[G_ASCII_DTOSTR_BUF_SIZE];
|
||||||
|
@ -55,7 +55,7 @@ guint gdk_rgba_hash (gconstpointer p);
|
|||||||
gboolean gdk_rgba_equal (gconstpointer p1,
|
gboolean gdk_rgba_equal (gconstpointer p1,
|
||||||
gconstpointer p2);
|
gconstpointer p2);
|
||||||
|
|
||||||
gchar * gdk_rgba_to_string (GdkRGBA *rgba);
|
gchar * gdk_rgba_to_string (const GdkRGBA *rgba);
|
||||||
|
|
||||||
GType gdk_rgba_get_type (void) G_GNUC_CONST;
|
GType gdk_rgba_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user