diff options
author | Glenn Morris <rgm@gnu.org> | 2007-09-14 07:36:14 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-09-14 07:36:14 +0000 |
commit | ac1281ac7d4c48d0d625c86162a381791d1cb29c (patch) | |
tree | 8d4ac9cc930efab52243537be2096fa0ed51beaf /src/gtkutil.c | |
parent | b935b43dccbea4869b820488aede5bd418ecf440 (diff) | |
download | emacs-ac1281ac7d4c48d0d625c86162a381791d1cb29c.tar.gz |
(xg_separator_p) <separator_names>: Move to file scope.
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r-- | src/gtkutil.c | 36 |
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) /* 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; |