forked from AuroraMiddleware/gtk
Fix conversion from GdkColor to GdkRGBA
This commit is contained in:
parent
39d4207ab7
commit
0a03e81224
@ -3620,9 +3620,9 @@ get_cursor_color (GtkStyleContext *context,
|
||||
|
||||
if (style_color)
|
||||
{
|
||||
color->red = style_color->red / 65535;
|
||||
color->green = style_color->green / 65535;
|
||||
color->blue = style_color->blue / 65535;
|
||||
color->red = style_color->red / 65535.0;
|
||||
color->green = style_color->green / 65535.0;
|
||||
color->blue = style_color->blue / 65535.0;
|
||||
color->alpha = 1;
|
||||
|
||||
gdk_color_free (style_color);
|
||||
|
Loading…
Reference in New Issue
Block a user