[gnome-session] Define UPOWER_ENABLE_DEPRECATED
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] Define UPOWER_ENABLE_DEPRECATED
- Date: Wed, 13 Feb 2013 15:32:21 +0000 (UTC)
commit 9646cc98b6a204f08c1ed06d75404610251e30e7
Author: Colin Walters <walters verbum org>
Date: Wed Feb 13 10:28:36 2013 -0500
Define UPOWER_ENABLE_DEPRECATED
See http://cgit.freedesktop.org/upower/commit/?id=9843589d2d80e6dc2b3f51338e64bd1da1c53860
gnome-session/gsm-consolekit.c | 1 +
gnome-session/gsm-logout-dialog.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-session/gsm-consolekit.c b/gnome-session/gsm-consolekit.c
index 2ae20cf..99a34a6 100644
--- a/gnome-session/gsm-consolekit.c
+++ b/gnome-session/gsm-consolekit.c
@@ -31,6 +31,7 @@
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
+#define UPOWER_ENABLE_DEPRECATED 1
#include <upower.h>
#include "gsm-system.h"
diff --git a/gnome-session/gsm-logout-dialog.c b/gnome-session/gsm-logout-dialog.c
index 3bddbab..5af2ea8 100644
--- a/gnome-session/gsm-logout-dialog.c
+++ b/gnome-session/gsm-logout-dialog.c
@@ -27,6 +27,7 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#define UPOWER_ENABLE_DEPRECATED 1
#include <upower.h>
#include "gsm-logout-dialog.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]