diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2012-10-04 01:45:44 +0000 |
|---|---|---|
| committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-04 01:45:44 +0000 |
| commit | 370a3f5cc9e39352a081e5d5dd8c43676547a6e6 (patch) | |
| tree | 3e7b18853b1902c189a5d1972db490c561b0b538 /src/sp-pattern.cpp | |
| parent | extensions. Extrude. allow selection of multiple objects (Bug 1055155) (diff) | |
| download | inkscape-370a3f5cc9e39352a081e5d5dd8c43676547a6e6.tar.gz inkscape-370a3f5cc9e39352a081e5d5dd8c43676547a6e6.zip | |
code cleanup: add own includes to cpp files or make the functions static if they are not used elsewhere.
(bzr r11735)
Diffstat (limited to 'src/sp-pattern.cpp')
| -rw-r--r-- | src/sp-pattern.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-pattern.cpp b/src/sp-pattern.cpp index 03afc1bf3..19c0180a7 100644 --- a/src/sp-pattern.cpp +++ b/src/sp-pattern.cpp @@ -290,7 +290,7 @@ sp_pattern_set (SPObject *object, unsigned int key, const gchar *value) /* fixme: We need ::order_changed handler too (Lauris) */ -GSList *pattern_getchildren(SPPattern *pat) +static GSList *pattern_getchildren(SPPattern *pat) { GSList *l = NULL; @@ -381,7 +381,7 @@ static void pattern_ref_modified (SPObject */*ref*/, guint /*flags*/, SPPattern /** Count how many times pat is used by the styles of o and its descendants */ -guint +static guint count_pattern_hrefs(SPObject *o, SPPattern *pat) { if (!o) @@ -590,7 +590,7 @@ Geom::OptRect pattern_viewBox (SPPattern *pat) return viewbox; } -bool pattern_hasItemChildren (SPPattern *pat) +static bool pattern_hasItemChildren (SPPattern *pat) { bool hasChildren = false; for (SPObject *child = pat->firstChild() ; child && !hasChildren ; child = child->getNext() ) { |
