# HG changeset patch # User Glenn Morris # Date 1189755374 0 # Node ID 96a27ec4e6c52348a6537c4395209ab22f00f0ba # Parent 7080fcd26c3e48f36b172f61f1f73365675f128e (xg_separator_p) : Move to file scope. diff -r 7080fcd26c3e -r 96a27ec4e6c5 src/gtkutil.c --- a/src/gtkutil.c Fri Sep 14 07:32:50 2007 +0000 +++ b/src/gtkutil.c Fri Sep 14 07:36:14 2007 +0000 @@ -1890,6 +1890,24 @@ /* 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 @@ && 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;