[gnome-terminal] profile: editor: Unset colour alpha component



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

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

 src/profile-editor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/profile-editor.c b/src/profile-editor.c
index 03fdf4a..87fae40 100644
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
@@ -654,6 +654,7 @@ s_to_rgba (GValue *value,
   if (!gdk_rgba_parse (&color, s))
     return FALSE;
 
+  color.alpha = 1.0;
   g_value_set_boxed (value, &color);
   return TRUE;
 }


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