From b0be2cc9ba73cce853ca44365b35c8efb81c9f6b Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sun, 7 Oct 2007 06:01:45 +0000 Subject: [PATCH] hasSelection method --- src/gradient-drag.h | 1 + 1 file changed, 1 insertion(+) 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* -- 2.30.2