summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-15 15:27:16 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-15 15:27:16 +0100
commit76cad7a49fd7c5876e780bda4823d55a73ed2556 (patch)
treeff2d0a2e8de1939093097b54f161e4dc106da8b3
parentf5825a429522af2c5e8390b2601c23da9dc8d880 (diff)
downloadcaja-76cad7a49fd7c5876e780bda4823d55a73ed2556.tar.bz2
caja-76cad7a49fd7c5876e780bda4823d55a73ed2556.tar.xz
GTK3 icon-canvas-item: add a missing gtk_style_context_restore()
taken from: https://git.gnome.org/browse/nautilus/commit/?id=8296f8c
-rw-r--r--libcaja-private/caja-icon-canvas-item.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcaja-private/caja-icon-canvas-item.c b/libcaja-private/caja-icon-canvas-item.c
index 803cde76..e8787406 100644
--- a/libcaja-private/caja-icon-canvas-item.c
+++ b/libcaja-private/caja-icon-canvas-item.c
@@ -1522,6 +1522,8 @@ draw_label_text (CajaIconCanvasItem *item,
gtk_render_layout (context, cr,
x, text_rect.y0 + details->editable_text_height + LABEL_LINE_SPACING + TEXT_BACK_PADDING_Y,
additional_layout);
+
+ gtk_style_context_restore (context);
}
if (!create_mask && item->details->is_highlighted_as_keyboard_focus)