[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Use the default Xfdesktop background color as a fallback

noreply at xfce.org noreply at xfce.org
Sat Oct 27 12:20:44 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit 55bafd4fb1f97910b1b1bfcd69c7e2198f71745e
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat Oct 27 06:20:38 2018 -0400

    Use the default Xfdesktop background color as a fallback
---
 src/xfce-bg.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/xfce-bg.c b/src/xfce-bg.c
index b248a0d..8077f44 100644
--- a/src/xfce-bg.c
+++ b/src/xfce-bg.c
@@ -202,8 +202,8 @@ static void        color_from_rgba_array    (XfconfChannel    *channel,
 {
     gdouble r, g, b, a;
 
-    /* If all else fails use black */
-    gdk_rgba_parse (colorp, "#000000");
+    /* If all else fails use Xfdesktop's default */
+    gdk_rgba_parse (colorp, "#152233");
 
     if (!xfconf_channel_has_property (channel, property))
         return;
@@ -228,8 +228,8 @@ static void        color_from_color_array   (XfconfChannel    *channel,
 {
     guint   rc, gc, bc, ac;
 
-    /* If all else fails use black */
-    gdk_rgba_parse (colorp, "#000000");
+    /* If all else fails use Xfdesktop's default */
+    gdk_rgba_parse (colorp, "#152233");
 
     if (!xfconf_channel_has_property (channel, property))
         return;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list