[gnome-terminal] util: Unset colour alpha component



commit eaab60ff8e1f7c711cba154ea283a3a1aed02d4c
Author: Christian Persch <chpe gnome org>
Date:   Sat Feb 13 21:19:40 2016 +0100

    util: Unset colour alpha component
    
    Don't allow alpha in via the pref.

 src/terminal-util.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-util.c b/src/terminal-util.c
index ce354a1..9fcbd5d 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -795,6 +795,7 @@ s_to_rgba (GVariant *variant,
   if (!gdk_rgba_parse (color, str))
     return FALSE;
 
+  color.alpha = 1.0;
   *result = color;
   return TRUE;
 }


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