summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.h
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-10-07 06:01:45 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-10-07 06:01:45 +0000
commit366c4f70e502f9f2baceb7c4f1f0e386ab9347ff (patch)
tree066fcddd9b52f211070b53e0991ebe044d96b68e /src/gradient-drag.h
parentexport average_color (diff)
downloadinkscape-366c4f70e502f9f2baceb7c4f1f0e386ab9347ff.tar.gz
inkscape-366c4f70e502f9f2baceb7c4f1f0e386ab9347ff.zip
hasSelection method
(bzr r3848)
Diffstat (limited to 'src/gradient-drag.h')
-rw-r--r--src/gradient-drag.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gradient-drag.h b/src/gradient-drag.h
index 3015f20e3..890ab23ee 100644
--- a/src/gradient-drag.h
+++ b/src/gradient-drag.h
@@ -107,6 +107,7 @@ public: // FIXME: make more of this private!
~GrDrag();
bool isNonEmpty() {return (draggers != NULL);}
+ bool hasSelection() {return (selected != NULL);}
// especially the selection must be private, fix gradient-context to remove direct access to it
GList *selected; // list of GrDragger*