summaryrefslogtreecommitdiff
path: root/gdk/gdkrgba.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-11-28 18:49:47 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-11-28 19:01:51 +0000
commit1779ae79a13029a4efb77b2ab4b39393a3a9c9b8 (patch)
treea6a00ed2d8e00b590c959be16b67ae7003308588 /gdk/gdkrgba.h
parentb0bf2b5202782526edcba678c6239baecf897b16 (diff)
downloadgtk+-1779ae79a13029a4efb77b2ab4b39393a3a9c9b8.tar.gz
rgba: Invert the arguments and improve bindability
Since parse() is a method of the Gdk.RGBA class, the GdkRGBA pointer should be the first argument, and the string the second one, to allow a more natural binding. https://bugzilla.gnome.org/show_bug.cgi?id=635879
Diffstat (limited to 'gdk/gdkrgba.h')
-rw-r--r--gdk/gdkrgba.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkrgba.h b/gdk/gdkrgba.h
index 9875d105c5..2b7670477a 100644
--- a/gdk/gdkrgba.h
+++ b/gdk/gdkrgba.h
@@ -48,8 +48,8 @@ struct _GdkRGBA
GdkRGBA * gdk_rgba_copy (GdkRGBA *rgba);
void gdk_rgba_free (GdkRGBA *rgba);
-gboolean gdk_rgba_parse (const gchar *spec,
- GdkRGBA *rgba);
+gboolean gdk_rgba_parse (GdkRGBA *rgba,
+ const gchar *spec);
guint gdk_rgba_hash (gconstpointer p);
gboolean gdk_rgba_equal (gconstpointer p1,