[Xfce4-commits] [xfce/xfce4-session] 26/30: shutdown-fallback: Remove dbus-glib includes

noreply at xfce.org noreply at xfce.org
Sun May 15 18:03:45 CEST 2016


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

eric pushed a commit to branch master
in repository xfce/xfce4-session.

commit 707d7c9623c15b38701cd2e11401b4b1fec53818
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Mon Apr 25 17:06:50 2016 +0300

    shutdown-fallback: Remove dbus-glib includes
    
    It's already using GDBus, remove the unneeded old header files
    and remove the useless UPower check/include.
---
 xfce4-session/xfsm-shutdown-fallback.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/xfce4-session/xfsm-shutdown-fallback.c b/xfce4-session/xfsm-shutdown-fallback.c
index 2627788..36b71ea 100644
--- a/xfce4-session/xfsm-shutdown-fallback.c
+++ b/xfce4-session/xfsm-shutdown-fallback.c
@@ -56,13 +56,9 @@
 #include <sys/sysctl.h>
 #endif
 
-#include <dbus/dbus-glib.h>
-#include <dbus/dbus-glib-lowlevel.h>
+#include <gio/gio.h>
 #include <libxfce4util/libxfce4util.h>
 #include <gtk/gtk.h>
-#ifdef HAVE_UPOWER
-#include <upower.h>
-#endif
 #ifdef HAVE_POLKIT
 #include <polkit/polkit.h>
 #endif

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


More information about the Xfce4-commits mailing list