[Xfce4-commits] [xfce/xfce4-power-manager] 05/05: Fix minor build issues
noreply at xfce.org
noreply at xfce.org
Thu Jun 26 18:50:21 CEST 2014
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.
commit e4f205037f3faf317e2f98fdf193867edfce8ded
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Thu Jun 26 19:48:58 2014 +0300
Fix minor build issues
---
src/xfpm-power.c | 1 +
src/xfpm-systemd.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/xfpm-power.c b/src/xfpm-power.c
index 58bb0b9..db9643f 100644
--- a/src/xfpm-power.c
+++ b/src/xfpm-power.c
@@ -36,6 +36,7 @@
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
#include <upower.h>
+#include <gdk/gdkx.h>
#include <libxfce4util/libxfce4util.h>
#include <libxfce4ui/libxfce4ui.h>
diff --git a/src/xfpm-systemd.c b/src/xfpm-systemd.c
index d5c05ff..0c1cda6 100644
--- a/src/xfpm-systemd.c
+++ b/src/xfpm-systemd.c
@@ -189,11 +189,11 @@ static void xfpm_systemd_get_property (GObject *object,
static void
xfpm_systemd_finalize (GObject *object)
{
+#ifdef ENABLE_POLKIT
XfpmSystemd *systemd;
systemd = XFPM_SYSTEMD (object);
-#ifdef ENABLE_POLKIT
if(systemd->priv->polkit)
{
g_object_unref (G_OBJECT (systemd->priv->polkit));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list