diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpm-control.c | 1 | ||||
-rw-r--r-- | src/gpm-prefs-core.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gpm-control.c b/src/gpm-control.c index ebf052a..ec50136 100644 --- a/src/gpm-control.c +++ b/src/gpm-control.c @@ -39,6 +39,7 @@ #include <glib/gi18n.h> #include <dbus/dbus-glib.h> #include <dbus/dbus-glib-lowlevel.h> +#define UPOWER_ENABLE_DEPRECATED #include <libupower-glib/upower.h> #ifdef WITH_KEYRING diff --git a/src/gpm-prefs-core.c b/src/gpm-prefs-core.c index d1795dd..7a2662d 100644 --- a/src/gpm-prefs-core.c +++ b/src/gpm-prefs-core.c @@ -30,6 +30,7 @@ #include <dbus/dbus-glib.h> #include <math.h> #include <string.h> +#define UPOWER_ENABLE_DEPRECATED #include <libupower-glib/upower.h> #include "egg-debug.h" |