diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2009-08-06 14:17:17 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2009-08-06 14:17:17 +0000 |
| commit | 51c2905fd3e99955db2d823b79abb763d8097028 (patch) | |
| tree | 90128509479f5498e1125d1e4eb9cdc05bf6b6e6 /src/dialogs/export.cpp | |
| parent | Adding one more control to Smart Jelly (diff) | |
| download | inkscape-51c2905fd3e99955db2d823b79abb763d8097028.tar.gz inkscape-51c2905fd3e99955db2d823b79abb763d8097028.zip | |
Revert recent refactoring changes by johnce because they break the build, which cannot be fixed easily.
(bzr r8422)
Diffstat (limited to 'src/dialogs/export.cpp')
| -rw-r--r-- | src/dialogs/export.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index 56d50596c..0cde76657 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -538,7 +538,7 @@ sp_export_dialog (void) if (SP_ACTIVE_DOCUMENT && SP_DOCUMENT_URI (SP_ACTIVE_DOCUMENT)) { gchar *name; - Document * doc = SP_ACTIVE_DOCUMENT; + SPDocument * doc = SP_ACTIVE_DOCUMENT; const gchar *uri = SP_DOCUMENT_URI (doc); Inkscape::XML::Node * repr = sp_document_repr_root(doc); const gchar * text_extension = repr->attribute("inkscape:output_extension"); @@ -779,7 +779,7 @@ sp_export_selection_modified ( Inkscape::Application */*inkscape*/, switch (current_key) { case SELECTION_DRAWING: if ( SP_ACTIVE_DESKTOP ) { - Document *doc; + SPDocument *doc; doc = sp_desktop_document (SP_ACTIVE_DESKTOP); Geom::OptRect bbox = sp_item_bbox_desktop (SP_ITEM (SP_DOCUMENT_ROOT (doc))); if (bbox) { @@ -839,7 +839,7 @@ sp_export_area_toggled (GtkToggleButton *tb, GtkObject *base) if ( SP_ACTIVE_DESKTOP ) { - Document *doc; + SPDocument *doc; Geom::OptRect bbox; doc = sp_desktop_document (SP_ACTIVE_DESKTOP); @@ -906,7 +906,7 @@ sp_export_area_toggled (GtkToggleButton *tb, GtkObject *base) switch (key) { case SELECTION_PAGE: case SELECTION_DRAWING: { - Document * doc = SP_ACTIVE_DOCUMENT; + SPDocument * doc = SP_ACTIVE_DOCUMENT; sp_document_get_export_hints (doc, &filename, &xdpi, &ydpi); if (filename == NULL) { @@ -1213,7 +1213,7 @@ sp_export_export_clicked (GtkButton */*button*/, GtkObject *base) switch ((selection_type)(GPOINTER_TO_INT(gtk_object_get_data(GTK_OBJECT(base), "selection-type")))) { case SELECTION_PAGE: case SELECTION_DRAWING: { - Document * doc = SP_ACTIVE_DOCUMENT; + SPDocument * doc = SP_ACTIVE_DOCUMENT; Inkscape::XML::Node * repr = sp_document_repr_root(doc); bool modified = false; const gchar * temp_string; @@ -1245,7 +1245,7 @@ sp_export_export_clicked (GtkButton */*button*/, GtkObject *base) } case SELECTION_SELECTION: { const GSList * reprlst; - Document * doc = SP_ACTIVE_DOCUMENT; + SPDocument * doc = SP_ACTIVE_DOCUMENT; bool modified = false; bool saved = sp_document_get_undo_sensitive(doc); @@ -1466,7 +1466,7 @@ sp_export_detect_size(GtkObject * base) { } break; case SELECTION_DRAWING: { - Document *doc = sp_desktop_document (SP_ACTIVE_DESKTOP); + SPDocument *doc = sp_desktop_document (SP_ACTIVE_DESKTOP); Geom::OptRect bbox = sp_item_bbox_desktop (SP_ITEM (SP_DOCUMENT_ROOT (doc))); @@ -1478,7 +1478,7 @@ sp_export_detect_size(GtkObject * base) { } case SELECTION_PAGE: { - Document *doc; + SPDocument *doc; doc = sp_desktop_document (SP_ACTIVE_DESKTOP); |
