[gnome-builder] code-assist: enable warning underlines in 3.16.1



commit 553f7034fc3bc78c296279bc87366d4ca54026f6
Author: Christian Hergert <christian hergert me>
Date:   Mon Mar 23 13:44:42 2015 -0700

    code-assist: enable warning underlines in 3.16.1
    
    Once 3.16.1 ships, we should have our necessary patch in gtk+ to be able
    to change the underline warning color.

 libide/ide-buffer.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libide/ide-buffer.c b/libide/ide-buffer.c
index c18ab7b..081410a 100644
--- a/libide/ide-buffer.c
+++ b/libide/ide-buffer.c
@@ -685,13 +685,13 @@ static void
 ide_buffer_constructed (GObject *object)
 {
   IdeBuffer *self = (IdeBuffer *)object;
-#if 0
+#if GTK_CHECK_VERSION(3, 16, 1)
   GdkRGBA warning_rgba;
 #endif
 
   G_OBJECT_CLASS (ide_buffer_parent_class)->constructed (object);
 
-#if 0
+#if GTK_CHECK_VERSION(3, 16, 1)
   gdk_rgba_parse (&warning_rgba, "#fcaf3e");
 #endif
 
@@ -700,7 +700,7 @@ ide_buffer_constructed (GObject *object)
                               NULL);
   gtk_text_buffer_create_tag (GTK_TEXT_BUFFER (self), TAG_WARNING,
                               "underline", PANGO_UNDERLINE_ERROR,
-#if 0
+#if GTK_CHECK_VERSION (3, 16, 1)
                               "underline-rgba", &warning_rgba,
 #endif
                               NULL);


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