summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/entity-entry.cpp
diff options
context:
space:
mode:
authorjohnce <johnce@users.sourceforge.net>2009-08-05 06:38:07 +0000
committerjohnce <johnce@users.sourceforge.net>2009-08-05 06:38:07 +0000
commit4cd79453c07adefb912a4dbd0afb2e7c2722bd90 (patch)
tree66389573099d623138a62cb88f082ccbadc0c11e /src/ui/widget/entity-entry.cpp
parentSPDocument->Document (diff)
downloadinkscape-4cd79453c07adefb912a4dbd0afb2e7c2722bd90.tar.gz
inkscape-4cd79453c07adefb912a4dbd0afb2e7c2722bd90.zip
SPDocument->Document
(bzr r8408)
Diffstat (limited to 'src/ui/widget/entity-entry.cpp')
-rw-r--r--src/ui/widget/entity-entry.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/widget/entity-entry.cpp b/src/ui/widget/entity-entry.cpp
index e9f09f574..f42b29760 100644
--- a/src/ui/widget/entity-entry.cpp
+++ b/src/ui/widget/entity-entry.cpp
@@ -81,7 +81,7 @@ EntityLineEntry::~EntityLineEntry()
}
void
-EntityLineEntry::update (SPDocument *doc)
+EntityLineEntry::update (Document *doc)
{
const char *text = rdf_get_work_entity (doc, _entity);
static_cast<Gtk::Entry*>(_packable)->set_text (text ? text : "");
@@ -93,7 +93,7 @@ EntityLineEntry::on_changed()
if (_wr->isUpdating()) return;
_wr->setUpdating (true);
- SPDocument *doc = SP_ACTIVE_DOCUMENT;
+ Document *doc = SP_ACTIVE_DOCUMENT;
Glib::ustring text = static_cast<Gtk::Entry*>(_packable)->get_text();
if (rdf_set_work_entity (doc, _entity, text.c_str()))
sp_document_done (doc, SP_VERB_NONE,
@@ -122,7 +122,7 @@ EntityMultiLineEntry::~EntityMultiLineEntry()
}
void
-EntityMultiLineEntry::update (SPDocument *doc)
+EntityMultiLineEntry::update (Document *doc)
{
const char *text = rdf_get_work_entity (doc, _entity);
Gtk::ScrolledWindow *s = static_cast<Gtk::ScrolledWindow*>(_packable);
@@ -136,7 +136,7 @@ EntityMultiLineEntry::on_changed()
if (_wr->isUpdating()) return;
_wr->setUpdating (true);
- SPDocument *doc = SP_ACTIVE_DOCUMENT;
+ Document *doc = SP_ACTIVE_DOCUMENT;
Gtk::ScrolledWindow *s = static_cast<Gtk::ScrolledWindow*>(_packable);
Gtk::TextView *tv = static_cast<Gtk::TextView*>(s->get_child());
Glib::ustring text = tv->get_buffer()->get_text();