From 51c2905fd3e99955db2d823b79abb763d8097028 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Thu, 6 Aug 2009 14:17:17 +0000 Subject: Revert recent refactoring changes by johnce because they break the build, which cannot be fixed easily. (bzr r8422) --- src/widgets/icon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/widgets/icon.cpp') diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp index 56602962d..5824b102c 100644 --- a/src/widgets/icon.cpp +++ b/src/widgets/icon.cpp @@ -908,7 +908,7 @@ GdkPixbuf *sp_icon_image_load_pixmap(gchar const *name, unsigned /*lsize*/, unsi // takes doc, root, icon, and icon name to produce pixels extern "C" guchar * -sp_icon_doc_icon( Document *doc, NRArenaItem *root, +sp_icon_doc_icon( SPDocument *doc, NRArenaItem *root, gchar const *name, unsigned psize ) { bool const dump = Inkscape::Preferences::get()->getBool("/debug/icons/dumpSvg"); @@ -1038,7 +1038,7 @@ sp_icon_doc_icon( Document *doc, NRArenaItem *root, struct svg_doc_cache_t { - Document *doc; + SPDocument *doc; NRArenaItem *root; }; @@ -1081,7 +1081,7 @@ static std::list &icons_svg_paths() static guchar *load_svg_pixels(gchar const *name, unsigned /*lsize*/, unsigned psize) { - Document *doc = NULL; + SPDocument *doc = NULL; NRArenaItem *root = NULL; svg_doc_cache_t *info = NULL; -- cgit v1.2.3