[gnome-terminal] util: Unset colour alpha component
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] util: Unset colour alpha component
- Date: Sat, 13 Feb 2016 20:20:11 +0000 (UTC)
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]