diff options
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-table-field-chooser-item.c | 4 | ||||
-rw-r--r-- | widgets/table/e-table-header-utils.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/widgets/table/e-table-field-chooser-item.c b/widgets/table/e-table-field-chooser-item.c index 67fe22968f..78d8461b5f 100644 --- a/widgets/table/e-table-field-chooser-item.c +++ b/widgets/table/e-table-field-chooser-item.c @@ -520,6 +520,8 @@ etfci_draw (GnomeCanvasItem *item, width, height, etfci->width, y2 - y1, E_TABLE_COL_ARROW_NONE); + + cairo_restore (cr); } } @@ -562,6 +564,7 @@ etfci_start_drag (ETableFieldChooserItem *etfci, cairo_t *cr; gint drag_col; gint button_height; + GdkPixbuf *pixbuf; GtkTargetEntry etfci_drag_types[] = { { (gchar *) TARGET_ETABLE_COL_TYPE, 0, TARGET_ETABLE_COL_HEADER }, @@ -594,6 +597,7 @@ etfci_start_drag (ETableFieldChooserItem *etfci, etfci->width, button_height); cr = cairo_create (cs); + cr = cairo_create (cs); e_table_header_draw_button ( cr, ecol, widget, 0, 0, diff --git a/widgets/table/e-table-header-utils.c b/widgets/table/e-table-header-utils.c index 0150ff02a6..df5ee66b56 100644 --- a/widgets/table/e-table-header-utils.c +++ b/widgets/table/e-table-header-utils.c @@ -187,6 +187,7 @@ e_table_header_draw_button (cairo_t *cr, inner_width -= arrow_width + HEADER_PADDING; break; default: + cairo_restore (cr); g_return_if_reached (); } @@ -263,6 +264,7 @@ e_table_header_draw_button (cairo_t *cr, } default: + cairo_restore (cr); g_return_if_reached (); } |