summaryrefslogtreecommitdiffstats
path: root/src/document.h
diff options
context:
space:
mode:
authorJohn Bintz <me@johnbintz.com>2006-07-23 03:32:23 +0000
committerjohncoswell <johncoswell@users.sourceforge.net>2006-07-23 03:32:23 +0000
commite12fb519c55f93d11a13c162daa3572e7fc02b3e (patch)
tree7d73a9c5ad47df2e65a0338c438365f7320b963a /src/document.h
parentpatch from John Bintz, adding pref to simplify multiple paths separately (diff)
downloadinkscape-e12fb519c55f93d11a13c162daa3572e7fc02b3e.tar.gz
inkscape-e12fb519c55f93d11a13c162daa3572e7fc02b3e.zip
Forced redraw of canvas upon document commit to work around event starvation issue at high zoom levels
(bzr r1458)
Diffstat (limited to 'src/document.h')
-rw-r--r--src/document.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/document.h b/src/document.h
index cf2194a95..b0afba5ec 100644
--- a/src/document.h
+++ b/src/document.h
@@ -64,6 +64,7 @@ struct SPDocument : public Inkscape::GC::Managed<>,
typedef sigc::signal<void, double, double> ResizedSignal;
typedef sigc::signal<void> ReconstructionStart;
typedef sigc::signal<void> ReconstructionFinish;
+ typedef sigc::signal<void> CommitSignal;
SPDocument();
~SPDocument();
@@ -93,6 +94,7 @@ struct SPDocument : public Inkscape::GC::Managed<>,
sigc::connection connectModified(ModifiedSignal::slot_type slot);
sigc::connection connectURISet(URISetSignal::slot_type slot);
sigc::connection connectResized(ResizedSignal::slot_type slot);
+ sigc::connection connectCommit(CommitSignal::slot_type slot);
void bindObjectToId(gchar const *id, SPObject *object);
SPObject *getObjectById(gchar const *id);