diff options
author | Paolo Borelli <pborelli@gnome.org> | 2011-01-29 12:38:50 +0100 |
---|---|---|
committer | Paolo Borelli <pborelli@gnome.org> | 2011-01-29 12:38:50 +0100 |
commit | 9e203417752584b923cf5baec8940836ff2c0bcb (patch) | |
tree | 2bfd3477938e587a47cf96401ac336f72b10d7c4 /gtk/gtktextdisplay.c | |
parent | 469f4592d4647cab4b338abdf5a16f91830749cb (diff) | |
download | gtk+-9e203417752584b923cf5baec8940836ff2c0bcb.tar.gz |
Use GtkRGBA for the cursor color priv api.
Diffstat (limited to 'gtk/gtktextdisplay.c')
-rw-r--r-- | gtk/gtktextdisplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c index 7af3857d6c..a41f5b881a 100644 --- a/gtk/gtktextdisplay.c +++ b/gtk/gtktextdisplay.c @@ -780,7 +780,7 @@ render_para (GtkTextRenderer *text_renderer, (at_last_line && line_display->insert_index == byte_offset + line->length))) { GdkRectangle cursor_rect; - GdkColor cursor_color; + GdkRGBA cursor_color; cairo_t *cr = text_renderer->cr; /* we draw text using base color on filled cursor rectangle of cursor color @@ -797,7 +797,7 @@ render_para (GtkTextRenderer *text_renderer, gdk_cairo_rectangle (cr, &cursor_rect); cairo_clip (cr); - gdk_cairo_set_source_color (cr, &cursor_color); + gdk_cairo_set_source_rgba (cr, &cursor_color); cairo_paint (cr); /* draw text under the cursor if any */ |