[gnome-control-center] Fix include not found for gsettings-desktop-schemas/gdesktop-enums.h
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Fix include not found for gsettings-desktop-schemas/gdesktop-enums.h
- Date: Fri, 18 Mar 2011 14:51:03 +0000 (UTC)
commit 7c3011c3522c5b4c38f80b5c0f66c56cca325def
Author: Alexander Larsson <alexl redhat com>
Date: Fri Mar 18 15:47:37 2011 +0100
Fix include not found for gsettings-desktop-schemas/gdesktop-enums.h
pkg-config --cflags gsettings-desktop-schemas lists:
$incdir/gsettings-desktop-schemas
and that directory contains a gdesktop-enums.h file, so including
<gsettings-desktop-schemas/gdesktop-enums.h> will fail unless
the parent directory also accidentally got added as -I.
panels/datetime/cc-datetime-panel.c | 2 +-
panels/display/xrandr-capplet.c | 2 +-
panels/printers/cc-printers-panel.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/datetime/cc-datetime-panel.c b/panels/datetime/cc-datetime-panel.c
index 5eba086..5b8e87e 100644
--- a/panels/datetime/cc-datetime-panel.c
+++ b/panels/datetime/cc-datetime-panel.c
@@ -27,7 +27,7 @@
#include "libgnome-control-center/cc-lockbutton.h"
#include "date-endian.h"
-#include <gsettings-desktop-schemas/gdesktop-enums.h>
+#include <gdesktop-enums.h>
#include <string.h>
#include <stdlib.h>
#include <libintl.h>
diff --git a/panels/display/xrandr-capplet.c b/panels/display/xrandr-capplet.c
index 03aad49..0a3e9a4 100644
--- a/panels/display/xrandr-capplet.c
+++ b/panels/display/xrandr-capplet.c
@@ -35,7 +35,7 @@
#include <glib/gi18n.h>
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-bindings.h>
-#include <gsettings-desktop-schemas/gdesktop-enums.h>
+#include <gdesktop-enums.h>
#include "xrandr-capplet.h"
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c
index 39af8f5..3b95fb6 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -26,7 +26,7 @@
#include <glib/gstdio.h>
#include <polkit/polkit.h>
#include <dbus/dbus-glib.h>
-#include <gsettings-desktop-schemas/gdesktop-enums.h>
+#include <gdesktop-enums.h>
#include <cups/cups.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]