[gnome-builder/editor-layout] turn off background shadow for now
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/editor-layout] turn off background shadow for now
- Date: Sun, 30 Nov 2014 13:20:43 +0000 (UTC)
commit e469045cde82bd7d05c857a29c03a5cff498f9f5
Author: Christian Hergert <christian hergert me>
Date: Sun Nov 30 03:32:03 2014 -0800
turn off background shadow for now
src/editor/gb-source-search-highlighter.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-source-search-highlighter.c b/src/editor/gb-source-search-highlighter.c
index ecf0691..31d83d8 100644
--- a/src/editor/gb-source-search-highlighter.c
+++ b/src/editor/gb-source-search-highlighter.c
@@ -228,9 +228,13 @@ gb_source_search_highlighter_draw (GbSourceSearchHighlighter *highlighter,
add_matches (text_view, match_region, priv->search_context, &begin, &end);
cairo_region_subtract (clip_region, match_region);
+
+#if 0
+ /* uncomment to shadow the background */
gdk_cairo_region (cr, clip_region);
cairo_set_source_rgba (cr, 0, 0, 0, 0.2);
cairo_fill (cr);
+#endif
{
cairo_rectangle_int_t r;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]