[Xfce4-commits] [apps/xfce4-screensaver] 02/02: Add missing sentinel for provided patch (bug #14822)

noreply at xfce.org noreply at xfce.org
Thu Nov 1 23:47:49 CET 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 ef53b90d8ce956e7e03f5a583aa8b992b513b2f9
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Nov 1 18:47:37 2018 -0400

    Add missing sentinel for provided patch (bug #14822)
---
 src/xfce-bg.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/xfce-bg.c b/src/xfce-bg.c
index 82d3edf..17e73ea 100644
--- a/src/xfce-bg.c
+++ b/src/xfce-bg.c
@@ -315,7 +315,7 @@ find_system_backgrounds (void)
 	dirs = g_get_system_data_dirs ();
 	for (i = 0; dirs[i]; i++) {
 		path = g_build_path (G_DIR_SEPARATOR_S, dirs[i],
-                             "backgrounds", "xfce");
+                             "backgrounds", "xfce", NULL);
 		if (g_file_test (path, G_FILE_TEST_IS_DIR))
 			return path;
 		else
@@ -472,7 +472,8 @@ xfce_bg_load_from_xfconf (XfceBG        *bg,
     filename = NULL;
     tmp = xfconf_channel_get_string(channel, property,
                                     g_build_filename(find_system_backgrounds(),
-                                                     XFCE_BG_FALLBACK_IMG));
+                                                     XFCE_BG_FALLBACK_IMG,
+                                                     NULL));
     if (tmp && *tmp != '\0') {
         /* FIXME: UTF-8 checks should go away.
          * picture-filename is of type string, which can only be used for

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


More information about the Xfce4-commits mailing list