[nautilus] canvas-item: add a missing gtk_style_context_restore()



commit 8296f8c3a57340a86d1de754e5d381678b1627e4
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 19 11:33:10 2015 -0800

    canvas-item: add a missing gtk_style_context_restore()

 libnautilus-private/nautilus-canvas-item.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-canvas-item.c b/libnautilus-private/nautilus-canvas-item.c
index 06cfb48..88fce2d 100644
--- a/libnautilus-private/nautilus-canvas-item.c
+++ b/libnautilus-private/nautilus-canvas-item.c
@@ -984,6 +984,8 @@ draw_label_text (NautilusCanvasItem *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 (item->details->is_highlighted_as_keyboard_focus) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]