aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2007-09-14 07:36:14 +0000
committerGlenn Morris2007-09-14 07:36:14 +0000
commitac1281ac7d4c48d0d625c86162a381791d1cb29c (patch)
tree8d4ac9cc930efab52243537be2096fa0ed51beaf /src
parentb935b43dccbea4869b820488aede5bd418ecf440 (diff)
downloademacs-ac1281ac7d4c48d0d625c86162a381791d1cb29c.tar.gz
emacs-ac1281ac7d4c48d0d625c86162a381791d1cb29c.zip
(xg_separator_p) <separator_names>: Move to file scope.
Diffstat (limited to 'src')
-rw-r--r--src/gtkutil.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index d80bd6f9eb6..cf88eeb8bf0 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -1890,6 +1890,24 @@ make_menu_item (utf8_label, utf8_key, item, group)
1890/* Return non-zero if LABEL specifies a separator (GTK only has one 1890/* Return non-zero if LABEL specifies a separator (GTK only has one
1891 separator type) */ 1891 separator type) */
1892 1892
1893static char* separator_names[] = {
1894 "space",
1895 "no-line",
1896 "single-line",
1897 "double-line",
1898 "single-dashed-line",
1899 "double-dashed-line",
1900 "shadow-etched-in",
1901 "shadow-etched-out",
1902 "shadow-etched-in-dash",
1903 "shadow-etched-out-dash",
1904 "shadow-double-etched-in",
1905 "shadow-double-etched-out",
1906 "shadow-double-etched-in-dash",
1907 "shadow-double-etched-out-dash",
1908 0,
1909};
1910
1893static int 1911static int
1894xg_separator_p (char *label) 1912xg_separator_p (char *label)
1895{ 1913{
@@ -1898,24 +1916,6 @@ xg_separator_p (char *label)
1898 && strncmp (label, "--", 2) == 0 1916 && strncmp (label, "--", 2) == 0
1899 && label[2] != '-') 1917 && label[2] != '-')
1900 { 1918 {
1901 static char* separator_names[] = {
1902 "space",
1903 "no-line",
1904 "single-line",
1905 "double-line",
1906 "single-dashed-line",
1907 "double-dashed-line",
1908 "shadow-etched-in",
1909 "shadow-etched-out",
1910 "shadow-etched-in-dash",
1911 "shadow-etched-out-dash",
1912 "shadow-double-etched-in",
1913 "shadow-double-etched-out",
1914 "shadow-double-etched-in-dash",
1915 "shadow-double-etched-out-dash",
1916 0,
1917 };
1918
1919 int i; 1919 int i;
1920 1920
1921 label += 2; 1921 label += 2;