diff options
author | raveit65 <[email protected]> | 2016-06-16 13:35:02 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-07-02 10:50:56 +0200 |
commit | e983f64abd52242d96d9ed3825395f2e1f3dea5e (patch) | |
tree | 1db22130eda2f1d23818334a76a926e37b056f13 /eel/eel-gdk-extensions.h | |
parent | d829c648eb20daa6ad487768195e1379a2ddb135 (diff) | |
download | caja-e983f64abd52242d96d9ed3825395f2e1f3dea5e.tar.bz2 caja-e983f64abd52242d96d9ed3825395f2e1f3dea5e.tar.xz |
GTK+-3 eel: rename GdkRGBA functions
Diffstat (limited to 'eel/eel-gdk-extensions.h')
-rw-r--r-- | eel/eel-gdk-extensions.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/eel/eel-gdk-extensions.h b/eel/eel-gdk-extensions.h index 1c74cff2..cd2ab757 100644 --- a/eel/eel-gdk-extensions.h +++ b/eel/eel-gdk-extensions.h @@ -102,10 +102,11 @@ char * eel_gradient_set_bottom_color_spec (const char /* A version of parse_color that substitutes a default color instead of returning a boolean to indicate it cannot be parsed. */ -void eel_gdk_color_parse_with_white_default (const char *color_spec, #if GTK_CHECK_VERSION (3, 0, 0) - GdkRGBA *parsed_color); +void eel_gdk_rgba_parse_with_white_default (GdkRGBA *parsed_color, + const char *color_spec); #else +void eel_gdk_color_parse_with_white_default (const char *color_spec, GdkColor *parsed_color); #endif guint32 eel_rgb16_to_rgb (gushort r, @@ -115,8 +116,8 @@ guint32 eel_rgb8_to_rgb (guchar guchar g, guchar b); #if GTK_CHECK_VERSION (3, 0, 0) -guint32 eel_gdk_color_to_rgb (const GdkRGBA *color); -GdkRGBA eel_gdk_rgb_to_color (guint32 color); +guint32 eel_gdk_rgba_to_rgb (const GdkRGBA *color); +GdkRGBA eel_gdk_rgb_to_rgba (guint32 color); #else guint32 eel_gdk_color_to_rgb (const GdkColor *color); GdkColor eel_gdk_rgb_to_color (guint32 color); |