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