diff options
author | Tom Rondeau <tom@trondeau.com> | 2013-12-12 10:50:56 -0500 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2013-12-12 10:50:56 -0500 |
commit | b22c1c0e8e4150a6cb33b1af75582d12d0aaed7a (patch) | |
tree | 60f8f0583751eb0352878cf838987decac8622c8 /gr-qtgui/lib/histogram_sink_f_impl.cc | |
parent | 7f9e9e19edbcfe9dc856f659f733bdd1c20d8b2c (diff) |
qtgui: fixed issue preventing gr-qtgui build if Python-dev is not installed (ENABLE_PYTHON=False).
Diffstat (limited to 'gr-qtgui/lib/histogram_sink_f_impl.cc')
-rw-r--r-- | gr-qtgui/lib/histogram_sink_f_impl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-qtgui/lib/histogram_sink_f_impl.cc b/gr-qtgui/lib/histogram_sink_f_impl.cc index 7519e18aba..843571a7d0 100644 --- a/gr-qtgui/lib/histogram_sink_f_impl.cc +++ b/gr-qtgui/lib/histogram_sink_f_impl.cc @@ -132,6 +132,7 @@ namespace gr { return d_main_gui; } +#ifdef ENABLE_PYTHON PyObject* histogram_sink_f_impl::pyqwidget() { @@ -139,6 +140,7 @@ namespace gr { PyObject *retarg = Py_BuildValue("N", w); return retarg; } +#endif void histogram_sink_f_impl::set_y_axis(double min, double max) |