diff options
| author | su_v <suv-sf@users.sourceforge.net> | 2012-10-04 16:06:34 +0000 |
|---|---|---|
| committer | ~suv <suv-sf@users.sourceforge.net> | 2012-10-04 16:06:34 +0000 |
| commit | 9934562291b4604c611776063ced8b75e111d3f2 (patch) | |
| tree | a7a3b4f9d5327cf9f001de090b223a75ec0347ee /src/sp-pattern.cpp | |
| parent | merge from trunk (r11734) (diff) | |
| parent | code cleanup: make more functions static, add includes. (diff) | |
| download | inkscape-9934562291b4604c611776063ced8b75e111d3f2.tar.gz inkscape-9934562291b4604c611776063ced8b75e111d3f2.zip | |
merge from trunk (r11737)
(bzr r11668.1.23)
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() ) { |
