summaryrefslogtreecommitdiffstats
path: root/src/document-undo.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2007-11-04 07:22:23 +0000
committerjoncruz <joncruz@users.sourceforge.net>2007-11-04 07:22:23 +0000
commit220136e32a951dffe05ab4c3a117d67f4540680c (patch)
tree00738e1584136c324f4424957f264f10840fbd40 /src/document-undo.cpp
parentAdd virtual to a lot of the destructors. Note: perhaps it will have to be rev... (diff)
downloadinkscape-220136e32a951dffe05ab4c3a117d67f4540680c.tar.gz
inkscape-220136e32a951dffe05ab4c3a117d67f4540680c.zip
Warning cleanup
(bzr r4025)
Diffstat (limited to '')
-rw-r--r--src/document-undo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/document-undo.cpp b/src/document-undo.cpp
index 53c272566..7556d2e8f 100644
--- a/src/document-undo.cpp
+++ b/src/document-undo.cpp
@@ -124,10 +124,10 @@ sp_document_done (SPDocument *doc, const unsigned int event_type, Glib::ustring
}
void
-sp_document_reset_key (Inkscape::Application */*inkscape*/, SPDesktop *desktop, GtkObject *base)
+sp_document_reset_key (Inkscape::Application */*inkscape*/, SPDesktop */*desktop*/, GtkObject *base)
{
- SPDocument *doc = (SPDocument *) base;
- doc->actionkey = NULL;
+ SPDocument *doc = (SPDocument *) base;
+ doc->actionkey = NULL;
}
namespace {
@@ -146,7 +146,7 @@ public:
CommitEvent(SPDocument *doc, const gchar *key, const unsigned int type)
: InteractionEvent(share_static_string("commit"))
{
- _addProperty(share_static_string("timestamp"), timestamp());
+ _addProperty(share_static_string("timestamp"), timestamp());
gchar *serial = g_strdup_printf("%lu", doc->serial());
_addProperty(share_static_string("document"), serial);
g_free(serial);