summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-02-03 13:42:56 -0500
committerColin Walters <walters@verbum.org>2012-02-03 13:42:56 -0500
commit0745bb43c2cbc01a6f86551ff4a28abcd6465dda (patch)
tree515b794beac2e5b1687c16868bfc509b9bcd97e1
parent39a70b7b108ed1a262de0b9dc3ffca944d9eee0f (diff)
downloadgobject-introspection-0745bb43c2cbc01a6f86551ff4a28abcd6465dda.tar.gz
Add Emacs mode lines to C sources
-rw-r--r--girepository/gdump.c3
-rw-r--r--girepository/gi-dump-types.c1
-rw-r--r--girepository/giarginfo.c3
-rw-r--r--girepository/giarginfo.h3
-rw-r--r--girepository/gibaseinfo.c3
-rw-r--r--girepository/gibaseinfo.h3
-rw-r--r--girepository/gicallableinfo.c3
-rw-r--r--girepository/gicallableinfo.h3
-rw-r--r--girepository/giconstantinfo.c3
-rw-r--r--girepository/giconstantinfo.h3
-rw-r--r--girepository/gienuminfo.c3
-rw-r--r--girepository/gienuminfo.h3
-rw-r--r--girepository/gifieldinfo.c3
-rw-r--r--girepository/gifieldinfo.h3
-rw-r--r--girepository/gifunctioninfo.c3
-rw-r--r--girepository/gifunctioninfo.h3
-rw-r--r--girepository/giinterfaceinfo.c3
-rw-r--r--girepository/giinterfaceinfo.h3
-rw-r--r--girepository/ginvoke.c3
-rw-r--r--girepository/giobjectinfo.c3
-rw-r--r--girepository/giobjectinfo.h3
-rw-r--r--girepository/gipropertyinfo.c3
-rw-r--r--girepository/gipropertyinfo.h3
-rw-r--r--girepository/giregisteredtypeinfo.c3
-rw-r--r--girepository/giregisteredtypeinfo.h3
-rw-r--r--girepository/girepository-private.h4
-rw-r--r--girepository/girepository.c4
-rw-r--r--girepository/girepository.h3
-rw-r--r--girepository/girffi.c3
-rw-r--r--girepository/girffi.h3
-rw-r--r--girepository/girmodule.c3
-rw-r--r--girepository/girmodule.h3
-rw-r--r--girepository/girnode.c3
-rw-r--r--girepository/girnode.h3
-rw-r--r--girepository/giroffsets.c3
-rw-r--r--girepository/girparser.c3
-rw-r--r--girepository/girparser.h3
-rw-r--r--girepository/girwriter.c4
-rw-r--r--girepository/girwriter.h3
-rw-r--r--girepository/gisignalinfo.c3
-rw-r--r--girepository/gisignalinfo.h3
-rw-r--r--girepository/gistructinfo.c3
-rw-r--r--girepository/gistructinfo.h3
-rw-r--r--girepository/gitypeinfo.c3
-rw-r--r--girepository/gitypeinfo.h3
-rw-r--r--girepository/gitypelib-internal.h3
-rw-r--r--girepository/gitypelib.c3
-rw-r--r--girepository/gitypelib.h3
-rw-r--r--girepository/gitypes.h3
-rw-r--r--girepository/giunioninfo.c3
-rw-r--r--girepository/giunioninfo.h3
-rw-r--r--girepository/givfuncinfo.c3
-rw-r--r--girepository/givfuncinfo.h3
-rw-r--r--girepository/glib-compat.h3
-rw-r--r--girepository/gthash-test.c3
-rw-r--r--girepository/gthash.c3
-rw-r--r--tests/scanner/annotation.c1
-rw-r--r--tests/scanner/barapp.c1
-rw-r--r--tests/scanner/drawable.c1
-rw-r--r--tests/scanner/gtkfrob.c1
-rw-r--r--tests/scanner/regress.c1
-rw-r--r--tests/scanner/utility.c1
-rw-r--r--tools/compiler.c3
-rw-r--r--tools/generate.c5
64 files changed, 121 insertions, 62 deletions
diff --git a/girepository/gdump.c b/girepository/gdump.c
index c237a81e..7e02d391 100644
--- a/girepository/gdump.c
+++ b/girepository/gdump.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Dump introspection data
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Dump introspection data
*
* Copyright (C) 2008 Colin Walters <walters@verbum.org>
*
diff --git a/girepository/gi-dump-types.c b/girepository/gi-dump-types.c
index eacf8a01..13e7ae68 100644
--- a/girepository/gi-dump-types.c
+++ b/girepository/gi-dump-types.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "gdump.c"
#include <gio/gunixoutputstream.h>
diff --git a/girepository/giarginfo.c b/girepository/giarginfo.c
index 0d1f0bbf..d61f4be2 100644
--- a/girepository/giarginfo.c
+++ b/girepository/giarginfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Argument implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Argument implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/giarginfo.h b/girepository/giarginfo.h
index 9daafa27..3f4163e3 100644
--- a/girepository/giarginfo.h
+++ b/girepository/giarginfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Argument
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Argument
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gibaseinfo.c b/girepository/gibaseinfo.c
index ab4ce3cf..ff9c9395 100644
--- a/girepository/gibaseinfo.c
+++ b/girepository/gibaseinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Base struct implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Base struct implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gibaseinfo.h b/girepository/gibaseinfo.h
index 7bb1cab0..54c8ee4f 100644
--- a/girepository/gibaseinfo.h
+++ b/girepository/gibaseinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: GIBaseInfo
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: GIBaseInfo
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gicallableinfo.c b/girepository/gicallableinfo.c
index 475346e2..28043fa5 100644
--- a/girepository/gicallableinfo.c
+++ b/girepository/gicallableinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Callable implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Callable implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gicallableinfo.h b/girepository/gicallableinfo.h
index a1d22c74..0c5fac79 100644
--- a/girepository/gicallableinfo.h
+++ b/girepository/gicallableinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Callable
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Callable
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/giconstantinfo.c b/girepository/giconstantinfo.c
index 2c3cc292..88220b4e 100644
--- a/girepository/giconstantinfo.c
+++ b/girepository/giconstantinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Constant implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Constant implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/giconstantinfo.h b/girepository/giconstantinfo.h
index 2e7d697f..2bbf9569 100644
--- a/girepository/giconstantinfo.h
+++ b/girepository/giconstantinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Constant
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Constant
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gienuminfo.c b/girepository/gienuminfo.c
index eeade756..a9b7c1df 100644
--- a/girepository/gienuminfo.c
+++ b/girepository/gienuminfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Enum implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Enum implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gienuminfo.h b/girepository/gienuminfo.h
index def97f95..0b9a9e1b 100644
--- a/girepository/gienuminfo.h
+++ b/girepository/gienuminfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Enum and Enum values
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Enum and Enum values
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gifieldinfo.c b/girepository/gifieldinfo.c
index 41976855..1d9a20dd 100644
--- a/girepository/gifieldinfo.c
+++ b/girepository/gifieldinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Field implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Field implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gifieldinfo.h b/girepository/gifieldinfo.h
index 589221b7..4ca54093 100644
--- a/girepository/gifieldinfo.h
+++ b/girepository/gifieldinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Field and Field values
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Field and Field values
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gifunctioninfo.c b/girepository/gifunctioninfo.c
index 2544cc3f..92f4ccd2 100644
--- a/girepository/gifunctioninfo.c
+++ b/girepository/gifunctioninfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Function implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Function implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gifunctioninfo.h b/girepository/gifunctioninfo.h
index b2fa1f76..7a9ecae0 100644
--- a/girepository/gifunctioninfo.h
+++ b/girepository/gifunctioninfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Function
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Function
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/giinterfaceinfo.c b/girepository/giinterfaceinfo.c
index e3e721d8..69cd63d9 100644
--- a/girepository/giinterfaceinfo.c
+++ b/girepository/giinterfaceinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Interface implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Interface implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/giinterfaceinfo.h b/girepository/giinterfaceinfo.h
index 4f4c05c9..8cab9961 100644
--- a/girepository/giinterfaceinfo.h
+++ b/girepository/giinterfaceinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Interface
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Interface
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/ginvoke.c b/girepository/ginvoke.c
index 0f9d22c9..84e1e748 100644
--- a/girepository/ginvoke.c
+++ b/girepository/ginvoke.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Invoke functionality
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Invoke functionality
*
* Copyright (C) 2005 Matthias Clasen
*
diff --git a/girepository/giobjectinfo.c b/girepository/giobjectinfo.c
index 32a5b0c5..3b8f64bb 100644
--- a/girepository/giobjectinfo.c
+++ b/girepository/giobjectinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Object implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Object implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/giobjectinfo.h b/girepository/giobjectinfo.h
index 569c0839..ee4b8a82 100644
--- a/girepository/giobjectinfo.h
+++ b/girepository/giobjectinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Object
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Object
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gipropertyinfo.c b/girepository/gipropertyinfo.c
index 552c0c3e..61316cb9 100644
--- a/girepository/gipropertyinfo.c
+++ b/girepository/gipropertyinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Property implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Property implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gipropertyinfo.h b/girepository/gipropertyinfo.h
index 487389cb..14b18b41 100644
--- a/girepository/gipropertyinfo.h
+++ b/girepository/gipropertyinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Property
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Property
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/giregisteredtypeinfo.c b/girepository/giregisteredtypeinfo.c
index 6c1b9321..6e3d31e2 100644
--- a/girepository/giregisteredtypeinfo.c
+++ b/girepository/giregisteredtypeinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Registered Type implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Registered Type implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/giregisteredtypeinfo.h b/girepository/giregisteredtypeinfo.h
index 76a1ee22..d46d738b 100644
--- a/girepository/giregisteredtypeinfo.h
+++ b/girepository/giregisteredtypeinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Registered Type
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Registered Type
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/girepository-private.h b/girepository/girepository-private.h
index 52d65b2b..05b13626 100644
--- a/girepository/girepository-private.h
+++ b/girepository/girepository-private.h
@@ -1,5 +1,5 @@
-/* -*- Mode: C; c-file-style: "gnu"; -*- */
-/* GObject introspection: Private headers
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Private headers
*
* Copyright (C) 2010 Johan Dahlin
*
diff --git a/girepository/girepository.c b/girepository/girepository.c
index b5cd4c7c..5d561c28 100644
--- a/girepository/girepository.c
+++ b/girepository/girepository.c
@@ -1,5 +1,5 @@
-/* -*- Mode: C; c-file-style: "gnu"; -*- */
-/* GObject introspection: Repository implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Repository implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008 Colin Walters <walters@verbum.org>
diff --git a/girepository/girepository.h b/girepository/girepository.h
index 9e99f6e3..02bd4a10 100644
--- a/girepository/girepository.h
+++ b/girepository/girepository.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Repository
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Repository
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/girffi.c b/girepository/girffi.c
index 2e8fe337..e727beab 100644
--- a/girepository/girffi.c
+++ b/girepository/girffi.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Helper functions for ffi integration
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Helper functions for ffi integration
*
* Copyright (C) 2008 Red Hat, Inc
* Copyright (C) 2005 Matthias Clasen
diff --git a/girepository/girffi.h b/girepository/girffi.h
index 3b3e9c74..e976f924 100644
--- a/girepository/girffi.h
+++ b/girepository/girffi.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Helper functions for ffi integration
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Helper functions for ffi integration
*
* Copyright (C) 2008 Red Hat, Inc
*
diff --git a/girepository/girmodule.c b/girepository/girmodule.c
index f438a193..af71f369 100644
--- a/girepository/girmodule.c
+++ b/girepository/girmodule.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Typelib creation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Typelib creation
*
* Copyright (C) 2005 Matthias Clasen
*
diff --git a/girepository/girmodule.h b/girepository/girmodule.h
index c81dec32..7837f2cf 100644
--- a/girepository/girmodule.h
+++ b/girepository/girmodule.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Parsed IDL
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Parsed IDL
*
* Copyright (C) 2005 Matthias Clasen
*
diff --git a/girepository/girnode.c b/girepository/girnode.c
index c5a70486..881aa9be 100644
--- a/girepository/girnode.c
+++ b/girepository/girnode.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Typelib creation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Typelib creation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/girnode.h b/girepository/girnode.h
index 018261ae..d89847ac 100644
--- a/girepository/girnode.h
+++ b/girepository/girnode.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Parsed GIR
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Parsed GIR
*
* Copyright (C) 2005 Matthias Clasen
*
diff --git a/girepository/giroffsets.c b/girepository/giroffsets.c
index 2c84b707..e3c9d7f5 100644
--- a/girepository/giroffsets.c
+++ b/girepository/giroffsets.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Compute structure offsets
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Compute structure offsets
*
* Copyright (C) 2008 Red Hat, Inc.
*
diff --git a/girepository/girparser.c b/girepository/girparser.c
index b5c4ee32..041c65d7 100644
--- a/girepository/girparser.c
+++ b/girepository/girparser.c
@@ -1,4 +1,5 @@
-/* GObject introspection: A parser for the XML GIR format
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: A parser for the XML GIR format
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008 Philip Van Hoof
diff --git a/girepository/girparser.h b/girepository/girparser.h
index e56c63b5..4f79c777 100644
--- a/girepository/girparser.h
+++ b/girepository/girparser.h
@@ -1,4 +1,5 @@
-/* GObject introspection: A parser for the XML GIR format
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: A parser for the XML GIR format
*
* Copyright (C) 2005 Matthias Clasen
*
diff --git a/girepository/girwriter.c b/girepository/girwriter.c
index 7f5f7e87..73088a12 100644
--- a/girepository/girwriter.c
+++ b/girepository/girwriter.c
@@ -1,5 +1,5 @@
-/* -*- Mode: C; c-file-style: "gnu"; -*- */
-/* GObject introspection: IDL generator
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: IDL generator
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/girwriter.h b/girepository/girwriter.h
index 3ca7418b..85f74a79 100644
--- a/girepository/girwriter.h
+++ b/girepository/girwriter.h
@@ -1,4 +1,5 @@
-/* GObject introspection: IDL writer
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: IDL writer
*
* Copyright (C) 2007 Johan Dahlin
*
diff --git a/girepository/gisignalinfo.c b/girepository/gisignalinfo.c
index ddc891a4..f4110c38 100644
--- a/girepository/gisignalinfo.c
+++ b/girepository/gisignalinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Signal implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Signal implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gisignalinfo.h b/girepository/gisignalinfo.h
index 12054b00..e3a1e4a4 100644
--- a/girepository/gisignalinfo.h
+++ b/girepository/gisignalinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Signal
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Signal
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gistructinfo.c b/girepository/gistructinfo.c
index ad191683..dc17e322 100644
--- a/girepository/gistructinfo.c
+++ b/girepository/gistructinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Struct implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Struct implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gistructinfo.h b/girepository/gistructinfo.h
index 91296c1c..1d10708e 100644
--- a/girepository/gistructinfo.h
+++ b/girepository/gistructinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Struct
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Struct
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gitypeinfo.c b/girepository/gitypeinfo.c
index 5864f82f..a43fbc1b 100644
--- a/girepository/gitypeinfo.c
+++ b/girepository/gitypeinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Type implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Type implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gitypeinfo.h b/girepository/gitypeinfo.h
index 56e7309a..ef834b12 100644
--- a/girepository/gitypeinfo.h
+++ b/girepository/gitypeinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Type
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Type
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gitypelib-internal.h b/girepository/gitypelib-internal.h
index c6575d67..08fb8500 100644
--- a/girepository/gitypelib-internal.h
+++ b/girepository/gitypelib-internal.h
@@ -1,4 +1,5 @@
-/* GObject introspection: struct definitions for the binary
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: struct definitions for the binary
* typelib format, validation
*
* Copyright (C) 2005 Matthias Clasen
diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c
index 53a4bea8..ae6b8458 100644
--- a/girepository/gitypelib.c
+++ b/girepository/gitypelib.c
@@ -1,4 +1,5 @@
-/* GObject introspection: typelib validation, auxiliary functions
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: typelib validation, auxiliary functions
* related to the binary typelib format
*
* Copyright (C) 2005 Matthias Clasen
diff --git a/girepository/gitypelib.h b/girepository/gitypelib.h
index 2906a8f2..52c5c400 100644
--- a/girepository/gitypelib.h
+++ b/girepository/gitypelib.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Public typelib API
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Public typelib API
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/gitypes.h b/girepository/gitypes.h
index f83ea8bc..486f20aa 100644
--- a/girepository/gitypes.h
+++ b/girepository/gitypes.h
@@ -1,4 +1,5 @@
-/* GObject introspection: types
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: types
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/giunioninfo.c b/girepository/giunioninfo.c
index 15a4c7d1..95b71123 100644
--- a/girepository/giunioninfo.c
+++ b/girepository/giunioninfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Union implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Union implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/giunioninfo.h b/girepository/giunioninfo.h
index e42fe6f8..83696f76 100644
--- a/girepository/giunioninfo.h
+++ b/girepository/giunioninfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Union
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Union
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/givfuncinfo.c b/girepository/givfuncinfo.c
index c55c28d7..f80396c0 100644
--- a/girepository/givfuncinfo.c
+++ b/girepository/givfuncinfo.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Virtual Function implementation
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Virtual Function implementation
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/givfuncinfo.h b/girepository/givfuncinfo.h
index 3c556cbe..d8a8533b 100644
--- a/girepository/givfuncinfo.h
+++ b/girepository/givfuncinfo.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Virtual Functions
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Virtual Functions
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.
diff --git a/girepository/glib-compat.h b/girepository/glib-compat.h
index a4d3e499..2518092c 100644
--- a/girepository/glib-compat.h
+++ b/girepository/glib-compat.h
@@ -1,4 +1,5 @@
-/* GObject introspection: Compatibility definitions
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Compatibility definitions
*
* Copyright (C) 2009 Javier Jardón
*
diff --git a/girepository/gthash-test.c b/girepository/gthash-test.c
index a2e3cf82..7909a0c8 100644
--- a/girepository/gthash-test.c
+++ b/girepository/gthash-test.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Test typelib hashing
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Test typelib hashing
*
* Copyright (C) 2010 Red Hat, Inc.
*
diff --git a/girepository/gthash.c b/girepository/gthash.c
index 5042ebe3..8a352959 100644
--- a/girepository/gthash.c
+++ b/girepository/gthash.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Typelib hashing
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Typelib hashing
*
* Copyright (C) 2010 Red Hat, Inc.
*
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index f28befac..a4e4efc4 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "annotation.h"
char backslash_parsing_tester = '\\';
diff --git a/tests/scanner/barapp.c b/tests/scanner/barapp.c
index b7ac119d..db4be8db 100644
--- a/tests/scanner/barapp.c
+++ b/tests/scanner/barapp.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "barapp.h"
#include <girepository.h>
diff --git a/tests/scanner/drawable.c b/tests/scanner/drawable.c
index 0345b034..6ab8ecf7 100644
--- a/tests/scanner/drawable.c
+++ b/tests/scanner/drawable.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "drawable.h"
G_DEFINE_ABSTRACT_TYPE (TestInheritDrawable, test_inherit_drawable, G_TYPE_OBJECT);
diff --git a/tests/scanner/gtkfrob.c b/tests/scanner/gtkfrob.c
index 286e4483..d1c2312c 100644
--- a/tests/scanner/gtkfrob.c
+++ b/tests/scanner/gtkfrob.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "gtkfrob.h"
void
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c
index e90dbba0..3b0fc502 100644
--- a/tests/scanner/regress.c
+++ b/tests/scanner/regress.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include <string.h>
#include <stdlib.h>
#include <glib-object.h>
diff --git a/tests/scanner/utility.c b/tests/scanner/utility.c
index aad0d08a..fb1cf5a0 100644
--- a/tests/scanner/utility.c
+++ b/tests/scanner/utility.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
#include "utility.h"
G_DEFINE_TYPE (UtilityObject, utility_object, G_TYPE_OBJECT);
diff --git a/tools/compiler.c b/tools/compiler.c
index e3c3c556..7e17f1bd 100644
--- a/tools/compiler.c
+++ b/tools/compiler.c
@@ -1,4 +1,5 @@
-/* GObject introspection: Typelib compiler
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: Typelib compiler
*
* Copyright (C) 2005 Matthias Clasen
*
diff --git a/tools/generate.c b/tools/generate.c
index 7fe1afb0..0426512f 100644
--- a/tools/generate.c
+++ b/tools/generate.c
@@ -1,6 +1,5 @@
-
-/* -*- Mode: C; c-file-style: "gnu"; -*- */
-/* GObject introspection: IDL generator
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ * GObject introspection: IDL generator
*
* Copyright (C) 2005 Matthias Clasen
* Copyright (C) 2008,2009 Red Hat, Inc.