summaryrefslogtreecommitdiff
path: root/src/xsettings.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2011-06-30 17:07:40 +0200
committerJan Djärv <jan.h.d@swipnet.se>2011-06-30 17:07:40 +0200
commit51bb811f62f50430c4de8beccbdbdf974fb79e9f (patch)
treef49e3f18d49ba1a6d6d18538c63aaac75a4f3f09 /src/xsettings.c
parent68ba37fbd97f96c75a13609a80fd4c1a5b147e3f (diff)
downloademacs-51bb811f62f50430c4de8beccbdbdf974fb79e9f.tar.gz
Fix bad include.
* xsettings.c: Include glib-object.h, gio/gio.h if HAVE_GSETTINGS.
Diffstat (limited to 'src/xsettings.c')
-rw-r--r--src/xsettings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xsettings.c b/src/xsettings.c
index 09a5d31d01f..5df05e3e50e 100644
--- a/src/xsettings.c
+++ b/src/xsettings.c
@@ -34,9 +34,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <X11/Xproto.h>
-#define HAVE_GSETTINGS
#ifdef HAVE_GSETTINGS
-#include <glib.h>
+#include <glib-object.h>
+#include <gio/gio.h>
#else
#ifdef HAVE_GCONF
#include <gconf/gconf-client.h>