[baobab/wip/vala: 10/44] Oops, fix GdkRGBA conversion
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab/wip/vala: 10/44] Oops, fix GdkRGBA conversion
- Date: Sun, 8 Jan 2012 15:26:31 +0000 (UTC)
commit bd17eda04c855cb3b9bdc9a5dc0208cdbdbb47df
Author: Paolo Borelli <pborelli gnome org>
Date: Thu Jan 5 19:08:48 2012 +0100
Oops, fix GdkRGBA conversion
The new API changed the order of the args.
src/baobab-cell-renderer-progress.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/baobab-cell-renderer-progress.c b/src/baobab-cell-renderer-progress.c
index 940e55c..6af6bd9 100644
--- a/src/baobab-cell-renderer-progress.c
+++ b/src/baobab-cell-renderer-progress.c
@@ -152,9 +152,9 @@ set_color_according_to_perc (cairo_t *cr, double value)
if (!colors_initialized)
{
/* hardcoded tango colors */
- gdk_rgba_parse ("#cc0000", &red);
- gdk_rgba_parse ("#edd400", &yellow);
- gdk_rgba_parse ("#73d216", &green);
+ gdk_rgba_parse (&red, "#cc0000");
+ gdk_rgba_parse (&yellow, "#edd400");
+ gdk_rgba_parse (&green, "#73d216");
colors_initialized = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]