summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gradient-drag.h')
-rw-r--r--src/gradient-drag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gradient-drag.h b/src/gradient-drag.h
index 69e76d55f..c92a5c22f 100644
--- a/src/gradient-drag.h
+++ b/src/gradient-drag.h
@@ -140,7 +140,7 @@ public: // FIXME: make more of this private!
}
guint singleSelectedDraggerSingleDraggableType() {
- return (selected? ((GrDraggable *) ((GrDragger *) selected->data)->draggables->data)->point_type : 0);}
+ return (selected? (static_cast<GrDraggable*>((static_cast<GrDragger*>(selected->data))->draggables->data))->point_type : 0);}
// especially the selection must be private, fix gradient-context to remove direct access to it
GList *selected; // list of GrDragger*