summaryrefslogtreecommitdiff
path: root/src/gtkutil.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-09-14 07:36:26 +0000
committerGlenn Morris <rgm@gnu.org>2007-09-14 07:36:26 +0000
commit1873795047019866c6efb1fae74e7310c338f023 (patch)
tree2815153937fcd946f3ef9995bc8a509cb50081b2 /src/gtkutil.c
parent2e4e5023eda45a6b6a806e24ed42c36cce47a3fa (diff)
downloademacs-1873795047019866c6efb1fae74e7310c338f023.tar.gz
(xg_separator_p) <separator_names>: Move to file scope.
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r--src/gtkutil.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 7b1e4c5272d..b35317dd7fb 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -1890,6 +1890,24 @@ make_menu_item (utf8_label, utf8_key, item, group)
/* Return non-zero if LABEL specifies a separator (GTK only has one
separator type) */
+static char* separator_names[] = {
+ "space",
+ "no-line",
+ "single-line",
+ "double-line",
+ "single-dashed-line",
+ "double-dashed-line",
+ "shadow-etched-in",
+ "shadow-etched-out",
+ "shadow-etched-in-dash",
+ "shadow-etched-out-dash",
+ "shadow-double-etched-in",
+ "shadow-double-etched-out",
+ "shadow-double-etched-in-dash",
+ "shadow-double-etched-out-dash",
+ 0,
+};
+
static int
xg_separator_p (char *label)
{
@@ -1898,24 +1916,6 @@ xg_separator_p (char *label)
&& strncmp (label, "--", 2) == 0
&& label[2] != '-')
{
- static char* separator_names[] = {
- "space",
- "no-line",
- "single-line",
- "double-line",
- "single-dashed-line",
- "double-dashed-line",
- "shadow-etched-in",
- "shadow-etched-out",
- "shadow-etched-in-dash",
- "shadow-etched-out-dash",
- "shadow-double-etched-in",
- "shadow-double-etched-out",
- "shadow-double-etched-in-dash",
- "shadow-double-etched-out-dash",
- 0,
- };
-
int i;
label += 2;