summaryrefslogtreecommitdiff
path: root/gr-wxgui/python/constsink_gl.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-wxgui/python/constsink_gl.py')
-rw-r--r--gr-wxgui/python/constsink_gl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-wxgui/python/constsink_gl.py b/gr-wxgui/python/constsink_gl.py
index 4765e7a6eb..0313e7fea0 100644
--- a/gr-wxgui/python/constsink_gl.py
+++ b/gr-wxgui/python/constsink_gl.py
@@ -102,7 +102,7 @@ class const_sink_c(gr.hier_block2, common.wxgui_hb):
#)
agc = gr.feedforward_agc_cc(16, 1)
msgq = gr.msg_queue(2)
- sink = gr.message_sink(gr.sizeof_gr_complex*const_size, msgq, True)
+ sink = blocks.message_sink(gr.sizeof_gr_complex*const_size, msgq, True)
#controller
def setter(p, k, x): p[k] = x
self.controller = pubsub()