[gnumeric] GnmCellRenderendText: fix cairo stack
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] GnmCellRenderendText: fix cairo stack
- Date: Thu, 1 Jan 2015 23:51:42 +0000 (UTC)
commit 688bbfaf6cfc232bd4aafa125bb5f8e2a8f80e1f
Author: Morten Welinder <terra gnome org>
Date: Thu Jan 1 18:50:54 2015 -0500
GnmCellRenderendText: fix cairo stack
src/widgets/ChangeLog | 5 +++++
src/widgets/gnumeric-cell-renderer-text.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/widgets/ChangeLog b/src/widgets/ChangeLog
index cc970be..fa8585c 100644
--- a/src/widgets/ChangeLog
+++ b/src/widgets/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-01 Morten Welinder <terra gnome org>
+
+ * gnumeric-cell-renderer-text.c
+ (gnumeric_cell_renderer_text_render): Fix cairo stack.
+
2014-12-06 Morten Welinder <terra gnome org>
* gnumeric-expr-entry.c (gee_scan_for_range): Plug leak.
diff --git a/src/widgets/gnumeric-cell-renderer-text.c b/src/widgets/gnumeric-cell-renderer-text.c
index 4c7f100..d10e769 100644
--- a/src/widgets/gnumeric-cell-renderer-text.c
+++ b/src/widgets/gnumeric-cell-renderer-text.c
@@ -91,8 +91,8 @@ gnumeric_cell_renderer_text_render (GtkCellRenderer *cell,
GdkRGBA rgba;
gtk_style_context_get_background_color (ctxt, frame_state, &rgba);
gdk_cairo_set_source_rgba (cr, &rgba);
- gdk_cairo_rectangle (cr, background_area);
cairo_save (cr);
+ gdk_cairo_rectangle (cr, background_area);
cairo_clip (cr);
gdk_cairo_rectangle (cr, background_area);
cairo_stroke (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]