[Xfce4-commits] [apps/xfce4-screensaver] 01/02: Add missing xfconf_init to test-window.c
noreply at xfce.org
noreply at xfce.org
Sun Jul 7 18:22:39 CEST 2019
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 f79192366dba3ef2c43ddc39342e8d4ab0d70448
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sun Jul 7 12:10:26 2019 -0400
Add missing xfconf_init to test-window.c
---
src/test-window.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/test-window.c b/src/test-window.c
index 2369b6f..3cbd3af 100644
--- a/src/test-window.c
+++ b/src/test-window.c
@@ -28,6 +28,7 @@
#include <gtk/gtk.h>
#include <libxfce4util/libxfce4util.h>
+#include <xfconf/xfconf.h>
#include "gs-debug.h"
#include "gs-grab.h"
@@ -143,6 +144,13 @@ main (int argc,
exit (1);
}
+ if (!xfconf_init(&error)) {
+ g_error("Failed to connect to xfconf daemon: %s.", error->message);
+ g_error_free(error);
+
+ exit(1);
+ }
+
gs_debug_init (TRUE, FALSE);
grab = gs_grab_new ();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list