summaryrefslogtreecommitdiffstats
path: root/src/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.cpp')
-rw-r--r--src/interface.cpp10
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;