Commit dd8f05c8 authored by Dan Winship's avatar Dan Winship

include "config.h" in all .c files

Also, fix shell-global.c to actually compile with config.h included.

Was supposed to fix bug 602802, but doesn't...
parent f0e3b873
......@@ -23,6 +23,8 @@
* 02111-1307, USA.
*/
#include "config.h"
#define MUTTER_BUILDING_PLUGIN 1
#include <mutter-plugin.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-app-system.h"
#include <string.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include <string.h>
#include <stdlib.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-app-private.h"
#include "shell-global.h"
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-arrow.h"
#include <clutter/clutter.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-drawing.h"
#include <math.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include <gdk/gdkx.h>
#include <clutter/x11/clutter-x11.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-gconf.h"
#include <gconf/gconf-client.h>
......
......@@ -94,6 +94,8 @@ function runTestFixedBox() {
}
*/
#include "config.h"
#include "shell-generic-container.h"
#include <clutter/clutter.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-global-private.h"
#include "shell-wm.h"
......@@ -19,6 +21,9 @@
#include <math.h>
#include <X11/extensions/Xfixes.h>
#include <gjs/gjs.h>
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
#define SHELL_DBUS_SERVICE "org.gnome.Shell"
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-embedded-window-private.h"
#include <clutter/glx/clutter-glx.h>
......
......@@ -8,6 +8,8 @@
* popup-menu like actors.
*/
#include "config.h"
#include "shell-menu.h"
G_DEFINE_TYPE(ShellMenu, shell_menu, BIG_TYPE_BOX);
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-overflow-list.h"
G_DEFINE_TYPE (ShellOverflowList,
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-process.h"
#include <sys/types.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include <gst/base/gstpushsrc.h>
#include "shell-recorder-src.h"
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
......
......@@ -12,6 +12,8 @@
* size, even if that would overflow the size allocated to the stack.
*/
#include "config.h"
#include "shell-stack.h"
G_DEFINE_TYPE (ShellStack,
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-texture-cache.h"
#include "shell-global.h"
#include <gtk/gtk.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include <clutter/clutter.h>
#include <clutter/x11/clutter-x11.h>
#include <gtk/gtk.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include "shell-uri-util.h"
#include <glib/gi18n.h>
#include <gconf/gconf-client.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include <string.h>
#include <stdlib.h>
......
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "config.h"
#include <string.h>
#include "shell-wm.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment