diff options
| author | root <root@jtx.marker.es> | 2013-03-16 20:28:39 +0000 |
|---|---|---|
| committer | root <root@jtx.marker.es> | 2013-03-16 20:28:39 +0000 |
| commit | dc88806b0778f65a3f16071c9782d607cc735dda (patch) | |
| tree | ac560318c8a3bb2ac244edba6511082bb06cac34 /src/extension | |
| parent | Updating original path (diff) | |
| parent | Fix another tonne of forward declaration tags (diff) | |
| download | inkscape-dc88806b0778f65a3f16071c9782d607cc735dda.tar.gz inkscape-dc88806b0778f65a3f16071c9782d607cc735dda.zip | |
widget working not compile
(bzr r11950.1.54)
Diffstat (limited to 'src/extension')
| -rw-r--r-- | src/extension/effect.h | 2 | ||||
| -rw-r--r-- | src/extension/extension.h | 2 | ||||
| -rw-r--r-- | src/extension/implementation/implementation.h | 2 | ||||
| -rw-r--r-- | src/extension/internal/filter/filter.h | 2 | ||||
| -rw-r--r-- | src/extension/internal/pdfinput/svg-builder.h | 2 | ||||
| -rw-r--r-- | src/extension/output.h | 2 | ||||
| -rw-r--r-- | src/extension/system.cpp | 3 |
7 files changed, 7 insertions, 8 deletions
diff --git a/src/extension/effect.h b/src/extension/effect.h index 6616a23ec..193b90a97 100644 --- a/src/extension/effect.h +++ b/src/extension/effect.h @@ -20,7 +20,7 @@ namespace Gtk { class VBox; } -struct SPDocument; +class SPDocument; namespace Inkscape { diff --git a/src/extension/extension.h b/src/extension/extension.h index dcabb3df7..b6b4c51ed 100644 --- a/src/extension/extension.h +++ b/src/extension/extension.h @@ -71,7 +71,7 @@ namespace Gtk { #define INKSCAPE_EXTENSION_NS_NC "extension" #define INKSCAPE_EXTENSION_NS "extension:" -struct SPDocument; +class SPDocument; namespace Inkscape { namespace Extension { diff --git a/src/extension/implementation/implementation.h b/src/extension/implementation/implementation.h index fb323cd78..9d679982a 100644 --- a/src/extension/implementation/implementation.h +++ b/src/extension/implementation/implementation.h @@ -29,7 +29,7 @@ namespace Gtk { } class SPDocument; -class SPStyle; +struct SPStyle; namespace Inkscape { diff --git a/src/extension/internal/filter/filter.h b/src/extension/internal/filter/filter.h index 1e8a3be0f..9aaa84aec 100644 --- a/src/extension/internal/filter/filter.h +++ b/src/extension/internal/filter/filter.h @@ -19,7 +19,7 @@ namespace Inkscape { namespace XML { - class Document; + struct Document; } namespace Extension { diff --git a/src/extension/internal/pdfinput/svg-builder.h b/src/extension/internal/pdfinput/svg-builder.h index a550565d6..46cddd73b 100644 --- a/src/extension/internal/pdfinput/svg-builder.h +++ b/src/extension/internal/pdfinput/svg-builder.h @@ -19,7 +19,7 @@ class SPDocument; namespace Inkscape { namespace XML { - class Document; + struct Document; class Node; } } diff --git a/src/extension/output.h b/src/extension/output.h index 5f6785b8b..c5b1beb45 100644 --- a/src/extension/output.h +++ b/src/extension/output.h @@ -15,7 +15,7 @@ #include <gtk/gtk.h> #include "extension.h" -struct SPDocument; +class SPDocument; namespace Inkscape { namespace Extension { diff --git a/src/extension/system.cpp b/src/extension/system.cpp index 56cc6d1af..f7fd48b3f 100644 --- a/src/extension/system.cpp +++ b/src/extension/system.cpp @@ -280,10 +280,9 @@ save(Extension *key, SPDocument *doc, gchar const *filename, bool setextension, // remember attributes in case this is an unofficial save and/or overwrite fails gchar *saved_uri = g_strdup(doc->getURI()); - bool saved_modified = false; gchar *saved_output_extension = NULL; gchar *saved_dataloss = NULL; - saved_modified = doc->isModifiedSinceSave(); + bool saved_modified = doc->isModifiedSinceSave(); saved_output_extension = g_strdup(get_file_save_extension(save_method).c_str()); saved_dataloss = g_strdup(repr->attribute("inkscape:dataloss")); if (official) { |
