summaryrefslogtreecommitdiffstats
path: root/src/inkview.cpp
diff options
context:
space:
mode:
authorjohnce <johnce@users.sourceforge.net>2009-08-05 05:40:36 +0000
committerjohnce <johnce@users.sourceforge.net>2009-08-05 05:40:36 +0000
commit8b04d0db6c55e36935690d37defb6f9b68945796 (patch)
tree3909eb7f8201b43f6a4dcfcc854eda2fbc72b17e /src/inkview.cpp
parentScour extension added to Makefile.am and POTFILE.in (inkscape.pot updated). (diff)
downloadinkscape-8b04d0db6c55e36935690d37defb6f9b68945796.tar.gz
inkscape-8b04d0db6c55e36935690d37defb6f9b68945796.zip
SPDocument->Document
(bzr r8404)
Diffstat (limited to 'src/inkview.cpp')
-rw-r--r--src/inkview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/inkview.cpp b/src/inkview.cpp
index 5cfde2c81..0278d3029 100644
--- a/src/inkview.cpp
+++ b/src/inkview.cpp
@@ -84,7 +84,7 @@ struct SPSlideShow {
int size;
int length;
int current;
- SPDocument *doc;
+ Document *doc;
GtkWidget *view;
GtkWidget *window;
bool fullscreen;
@@ -441,7 +441,7 @@ sp_svgview_normal_cursor(struct SPSlideShow *ss)
}
static void
-sp_svgview_set_document(struct SPSlideShow *ss, SPDocument *doc, int current)
+sp_svgview_set_document(struct SPSlideShow *ss, Document *doc, int current)
{
if (doc && doc != ss->doc) {
sp_document_ensure_up_to_date (doc);
@@ -459,7 +459,7 @@ sp_svgview_show_next (struct SPSlideShow *ss)
{
sp_svgview_waiting_cursor(ss);
- SPDocument *doc = NULL;
+ Document *doc = NULL;
int current = ss->current;
while (!doc && (current < ss->length - 1)) {
doc = sp_document_new (ss->slides[++current], TRUE, false);
@@ -475,7 +475,7 @@ sp_svgview_show_prev (struct SPSlideShow *ss)
{
sp_svgview_waiting_cursor(ss);
- SPDocument *doc = NULL;
+ Document *doc = NULL;
int current = ss->current;
while (!doc && (current > 0)) {
doc = sp_document_new (ss->slides[--current], TRUE, false);
@@ -491,7 +491,7 @@ sp_svgview_goto_first (struct SPSlideShow *ss)
{
sp_svgview_waiting_cursor(ss);
- SPDocument *doc = NULL;
+ Document *doc = NULL;
int current = 0;
while ( !doc && (current < ss->length - 1)) {
if (current == ss->current)
@@ -509,7 +509,7 @@ sp_svgview_goto_last (struct SPSlideShow *ss)
{
sp_svgview_waiting_cursor(ss);
- SPDocument *doc = NULL;
+ Document *doc = NULL;
int current = ss->length - 1;
while (!doc && (current >= 0)) {
if (current == ss->current)
@@ -555,8 +555,8 @@ static void usage()
Inkscape::Application *inkscape_get_instance() { return NULL; }
void inkscape_ref (void) {}
void inkscape_unref (void) {}
-void inkscape_add_document (SPDocument *document) {}
-void inkscape_remove_document (SPDocument *document) {}
+void inkscape_add_document (Document *document) {}
+void inkscape_remove_document (Document *document) {}
#endif