summaryrefslogtreecommitdiff
path: root/grc/gui/Block.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Block.py')
-rw-r--r--grc/gui/Block.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gui/Block.py b/grc/gui/Block.py
index b55e471e37..c8611933f0 100644
--- a/grc/gui/Block.py
+++ b/grc/gui/Block.py
@@ -36,12 +36,12 @@ from ..core.Block import Block as CoreBlock
class Block(CoreBlock, Element):
"""The graphical signal block."""
- def __init__(self, flow_graph, n):
+ def __init__(self, parent, **n):
"""
Block constructor.
Add graphics related params to the block.
"""
- super(self.__class__, self).__init__(flow_graph, n)
+ super(self.__class__, self).__init__(parent, **n)
self.states.update(_coordinate=(0, 0), _rotation=0)
self.width = self.height = 0