[gnome-settings-daemon] power: Fix compile-time warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Fix compile-time warning
- Date: Thu, 29 Jan 2015 11:20:28 +0000 (UTC)
commit d423475e8de82e028bee03fc2a3662ba1c0e2d5d
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Jan 29 07:15:16 2015 +0200
power: Fix compile-time warning
gpm-common.c:201:9: warning: implicit declaration of function ‘gnome_settings_get_chassis_type’
[-Wimplicit-function-declaration]
type = gnome_settings_get_chassis_type ();
https://bugzilla.gnome.org/show_bug.cgi?id=743674
plugins/power/gpm-common.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/power/gpm-common.c b/plugins/power/gpm-common.c
index c0cc1bc..5de5899 100644
--- a/plugins/power/gpm-common.c
+++ b/plugins/power/gpm-common.c
@@ -35,6 +35,7 @@
#define GNOME_DESKTOP_USE_UNSTABLE_API
#include <libgnome-desktop/gnome-rr.h>
+#include "gnome-settings-bus.h"
#include "gpm-common.h"
#include "gsd-power-constants.h"
#include "gsd-power-manager.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]