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/interface.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 '')
| -rw-r--r-- | src/interface.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index 475ecdf16..cf7072064 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -271,7 +271,7 @@ sp_create_window(SPViewWidget *vw, gboolean editable) void sp_ui_new_view() { - Document *document; + SPDocument *document; SPViewWidget *dtw; document = SP_ACTIVE_DOCUMENT; @@ -290,7 +290,7 @@ sp_ui_new_view() void sp_ui_new_view_preview() { - Document *document; + SPDocument *document; SPViewWidget *dtw; document = SP_ACTIVE_DOCUMENT; @@ -1125,7 +1125,7 @@ sp_ui_drag_data_received(GtkWidget *widget, guint /*event_time*/, gpointer /*user_data*/) { - Document *doc = SP_ACTIVE_DOCUMENT; + SPDocument *doc = SP_ACTIVE_DOCUMENT; SPDesktop *desktop = SP_ACTIVE_DESKTOP; switch (info) { @@ -1508,7 +1508,7 @@ void sp_ui_drag_motion( GtkWidget */*widget*/, guint /*event_time*/, gpointer /*user_data*/) { -// Document *doc = SP_ACTIVE_DOCUMENT; +// SPDocument *doc = SP_ACTIVE_DOCUMENT; // SPDesktop *desktop = SP_ACTIVE_DESKTOP; @@ -1546,7 +1546,7 @@ sp_ui_import_one_file_with_check(gpointer filename, gpointer /*unused*/) static void sp_ui_import_one_file(char const *filename) { - Document *doc = SP_ACTIVE_DOCUMENT; + SPDocument *doc = SP_ACTIVE_DOCUMENT; if (!doc) return; if (filename == NULL) return; |
