[gnome-shell/shell-toolkit: 15/32] Add emacs mode-lines to ST sources



commit 0c0a0c66e2b042b06e8f397d473bfd776b696106
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Sep 29 15:08:01 2009 -0400

    Add emacs mode-lines to ST sources
    
    To each .c and .h file, add:
    
     /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
    
    'gnu' is the default anyways for Emacs, but indent-tabs-mode is not,
    so this sets things up to correspond to the policy of no-tabs.
    
    http://bugzilla.moblin.org/show_bug.cgi?id=6467

 src/st/st-adjustment.c       |    1 +
 src/st/st-adjustment.h       |    1 +
 src/st/st-bin.c              |    1 +
 src/st/st-bin.h              |    1 +
 src/st/st-box-layout-child.c |    1 +
 src/st/st-box-layout-child.h |    1 +
 src/st/st-box-layout.c       |    1 +
 src/st/st-box-layout.h       |    1 +
 src/st/st-button.c           |    1 +
 src/st/st-button.h           |    1 +
 src/st/st-clipboard.c        |    1 +
 src/st/st-clipboard.h        |    1 +
 src/st/st-entry.c            |    1 +
 src/st/st-entry.h            |    1 +
 src/st/st-label.c            |    1 +
 src/st/st-label.h            |    1 +
 src/st/st-private.c          |    1 +
 src/st/st-private.h          |    1 +
 src/st/st-scroll-bar.c       |    1 +
 src/st/st-scroll-bar.h       |    1 +
 src/st/st-scroll-view.c      |    1 +
 src/st/st-scroll-view.h      |    1 +
 src/st/st-scrollable.c       |    1 +
 src/st/st-scrollable.h       |    1 +
 src/st/st-stylable.c         |    1 +
 src/st/st-stylable.h         |    1 +
 src/st/st-style.c            |    1 +
 src/st/st-style.h            |    1 +
 src/st/st-subtexture.c       |    1 +
 src/st/st-subtexture.h       |    1 +
 src/st/st-texture-cache.c    |    1 +
 src/st/st-texture-cache.h    |    1 +
 src/st/st-texture-frame.c    |    1 +
 src/st/st-texture-frame.h    |    1 +
 src/st/st-tooltip.c          |    1 +
 src/st/st-tooltip.h          |    1 +
 src/st/st-types.h            |    1 +
 src/st/st-widget.c           |    1 +
 src/st/st-widget.h           |    1 +
 39 files changed, 39 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-adjustment.c b/src/st/st-adjustment.c
index a2c2af1..0a68178 100644
--- a/src/st/st-adjustment.c
+++ b/src/st/st-adjustment.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-adjustment.c: Adjustment object
  *
diff --git a/src/st/st-adjustment.h b/src/st/st-adjustment.h
index 179ea91..b816191 100644
--- a/src/st/st-adjustment.h
+++ b/src/st/st-adjustment.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-adjustment.h: Adjustment object
  *
diff --git a/src/st/st-bin.c b/src/st/st-bin.c
index 6ae322c..bc3eecb 100644
--- a/src/st/st-bin.c
+++ b/src/st/st-bin.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-bin.c: Basic container actor
  *
diff --git a/src/st/st-bin.h b/src/st/st-bin.h
index 68fed60..8e671a0 100644
--- a/src/st/st-bin.h
+++ b/src/st/st-bin.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-bin.h: Basic container actor
  *
diff --git a/src/st/st-box-layout-child.c b/src/st/st-box-layout-child.c
index f1d9953..cee0b78 100644
--- a/src/st/st-box-layout-child.c
+++ b/src/st/st-box-layout-child.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-box-layout-child.c: box layout child actor
  *
diff --git a/src/st/st-box-layout-child.h b/src/st/st-box-layout-child.h
index ec1d199..aa8051a 100644
--- a/src/st/st-box-layout-child.h
+++ b/src/st/st-box-layout-child.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-box-layout-child.h: box layout child actor
  *
diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c
index f6fb76f..c9ee6e7 100644
--- a/src/st/st-box-layout.c
+++ b/src/st/st-box-layout.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-box-layout.h: box layout actor
  *
diff --git a/src/st/st-box-layout.h b/src/st/st-box-layout.h
index 7a12174..f7ad946 100644
--- a/src/st/st-box-layout.h
+++ b/src/st/st-box-layout.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-box-layout.h: box layout actor
  *
diff --git a/src/st/st-button.c b/src/st/st-button.c
index 0f8c513..c17a485 100644
--- a/src/st/st-button.c
+++ b/src/st/st-button.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-button.c: Plain button actor
  *
diff --git a/src/st/st-button.h b/src/st/st-button.h
index c09a04a..615a216 100644
--- a/src/st/st-button.h
+++ b/src/st/st-button.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-button.h: Plain button actor
  *
diff --git a/src/st/st-clipboard.c b/src/st/st-clipboard.c
index d166a86..4fd75db 100644
--- a/src/st/st-clipboard.c
+++ b/src/st/st-clipboard.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-clipboard.c: clipboard object
  *
diff --git a/src/st/st-clipboard.h b/src/st/st-clipboard.h
index b1751a3..7b687d5 100644
--- a/src/st/st-clipboard.h
+++ b/src/st/st-clipboard.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-clipboard.h: clipboard object
  *
diff --git a/src/st/st-entry.c b/src/st/st-entry.c
index 7781691..f225625 100644
--- a/src/st/st-entry.c
+++ b/src/st/st-entry.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-entry.c: Plain entry actor
  *
diff --git a/src/st/st-entry.h b/src/st/st-entry.h
index 5f9ff18..bf14dcd 100644
--- a/src/st/st-entry.h
+++ b/src/st/st-entry.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-entry.h: Plain entry actor
  *
diff --git a/src/st/st-label.c b/src/st/st-label.c
index 6d1151f..0701a0b 100644
--- a/src/st/st-label.c
+++ b/src/st/st-label.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-label.c: Plain label actor
  *
diff --git a/src/st/st-label.h b/src/st/st-label.h
index fe9985a..934a494 100644
--- a/src/st/st-label.h
+++ b/src/st/st-label.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-label.h: Plain label actor
  *
diff --git a/src/st/st-private.c b/src/st/st-private.c
index 0a35e4e..7332e12 100644
--- a/src/st/st-private.c
+++ b/src/st/st-private.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 #include "st-private.h"
 
 /* Utility function to modify a child allocation box with respect to the
diff --git a/src/st/st-private.h b/src/st/st-private.h
index 1e99cf6..34ef85e 100644
--- a/src/st/st-private.h
+++ b/src/st/st-private.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-private.h: Private declarations
  *
diff --git a/src/st/st-scroll-bar.c b/src/st/st-scroll-bar.c
index 414c6e6..5e33d43 100644
--- a/src/st/st-scroll-bar.c
+++ b/src/st/st-scroll-bar.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-scroll-bar.c: Scroll bar actor
  *
diff --git a/src/st/st-scroll-bar.h b/src/st/st-scroll-bar.h
index 33adc03..07bf94d 100644
--- a/src/st/st-scroll-bar.h
+++ b/src/st/st-scroll-bar.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-scroll-bar.h: Scroll bar actor
  *
diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c
index c6c64b3..17c31e2 100644
--- a/src/st/st-scroll-view.c
+++ b/src/st/st-scroll-view.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-scroll-view.h: Container with scroll-bars
  *
diff --git a/src/st/st-scroll-view.h b/src/st/st-scroll-view.h
index 774fc05..dccc799 100644
--- a/src/st/st-scroll-view.h
+++ b/src/st/st-scroll-view.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-scroll-view.h: Container with scroll-bars
  *
diff --git a/src/st/st-scrollable.c b/src/st/st-scrollable.c
index 384ac4b..acf5ec5 100644
--- a/src/st/st-scrollable.c
+++ b/src/st/st-scrollable.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-scrollable.c: Scrollable interface
  *
diff --git a/src/st/st-scrollable.h b/src/st/st-scrollable.h
index f62d02f..22884eb 100644
--- a/src/st/st-scrollable.h
+++ b/src/st/st-scrollable.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-scrollable.h: Scrollable interface
  *
diff --git a/src/st/st-stylable.c b/src/st/st-stylable.c
index 6d23dee..35e5e64 100644
--- a/src/st/st-stylable.c
+++ b/src/st/st-stylable.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-stylable.c: Interface for stylable objects
  *
diff --git a/src/st/st-stylable.h b/src/st/st-stylable.h
index b00a2ba..fe88b20 100644
--- a/src/st/st-stylable.h
+++ b/src/st/st-stylable.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-stylable.h: Interface for stylable objects
  *
diff --git a/src/st/st-style.c b/src/st/st-style.c
index 3e9619a..d599bb6 100644
--- a/src/st/st-style.c
+++ b/src/st/st-style.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * Copyright 2009 Intel Corporation.
  *
diff --git a/src/st/st-style.h b/src/st/st-style.h
index ce63a2a..7773905 100644
--- a/src/st/st-style.h
+++ b/src/st/st-style.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * Copyright 2009 Intel Corporation.
  *
diff --git a/src/st/st-subtexture.c b/src/st/st-subtexture.c
index 1bcd896..0f34814 100644
--- a/src/st/st-subtexture.c
+++ b/src/st/st-subtexture.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-subtexture.h: Class to wrap a texture and "subframe" it.
  * based on
diff --git a/src/st/st-subtexture.h b/src/st/st-subtexture.h
index ce9c10e..d038ca9 100644
--- a/src/st/st-subtexture.h
+++ b/src/st/st-subtexture.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-subtexture.h: Class to wrap a texture and "subframe" it.
  *
diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c
index dea1bee..6fca08d 100644
--- a/src/st/st-texture-cache.c
+++ b/src/st/st-texture-cache.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-widget.h: Base class for St actors
  *
diff --git a/src/st/st-texture-cache.h b/src/st/st-texture-cache.h
index b3da32e..ea299a0 100644
--- a/src/st/st-texture-cache.h
+++ b/src/st/st-texture-cache.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-texture-cache.h: Cached textures object
  *
diff --git a/src/st/st-texture-frame.c b/src/st/st-texture-frame.c
index 9162169..45b4bf9 100644
--- a/src/st/st-texture-frame.c
+++ b/src/st/st-texture-frame.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-texture-frame.h: Expandible texture actor
  *
diff --git a/src/st/st-texture-frame.h b/src/st/st-texture-frame.h
index 240a1c0..a4e4463 100644
--- a/src/st/st-texture-frame.h
+++ b/src/st/st-texture-frame.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-texture-frame.h: Expandible texture actor
  *
diff --git a/src/st/st-tooltip.c b/src/st/st-tooltip.c
index 5070945..2ba9b41 100644
--- a/src/st/st-tooltip.c
+++ b/src/st/st-tooltip.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-tooltip.c: Plain tooltip actor
  *
diff --git a/src/st/st-tooltip.h b/src/st/st-tooltip.h
index b2cef3e..ab7b943 100644
--- a/src/st/st-tooltip.h
+++ b/src/st/st-tooltip.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-tooltip.h: Plain tooltip actor
  *
diff --git a/src/st/st-types.h b/src/st/st-types.h
index 2049945..ab775ed 100644
--- a/src/st/st-types.h
+++ b/src/st/st-types.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * Copyright 2009 Intel Corporation.
  *
diff --git a/src/st/st-widget.c b/src/st/st-widget.c
index a27d9d0..eb7a080 100644
--- a/src/st/st-widget.c
+++ b/src/st/st-widget.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-widget.c: Base class for St actors
  *
diff --git a/src/st/st-widget.h b/src/st/st-widget.h
index 1c5ee36..c06cc4f 100644
--- a/src/st/st-widget.h
+++ b/src/st/st-widget.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
  * st-widget.h: Base class for St actors
  *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]