diff --git a/clapper_src/debug.js b/clapper_src/debug.js index 2d8fcb67..fe97e65a 100644 --- a/clapper_src/debug.js +++ b/clapper_src/debug.js @@ -1,5 +1,4 @@ -const { GLib, Gst } = imports.gi; -const REQ_GST_VERSION_MINOR = 18; +const { GLib } = imports.gi; function debug(msg, levelName) { @@ -15,17 +14,3 @@ function debug(msg, levelName) SYSLOG_IDENTIFIER: 'clapper' }); } - -function gstVersionCheck() -{ - if(Gst.VERSION_MINOR >= REQ_GST_VERSION_MINOR) - return; - - debug( - 'Clapper was designed to' + - ` work with GStreamer 1.${REQ_GST_VERSION_MINOR} or later.` + - ` Your version is ${Gst.VERSION_MAJOR}.${Gst.VERSION_MINOR}.` + - ' Please update GStreamer or expect some things to be broken.', - 'LEVEL_WARNING' - ); -} diff --git a/clapper_src/widget.js b/clapper_src/widget.js index af103efe..e7569eff 100644 --- a/clapper_src/widget.js +++ b/clapper_src/widget.js @@ -18,8 +18,6 @@ var Widget = GObject.registerClass({ { _init() { - Debug.gstVersionCheck(); - super._init(); /* load CSS here to allow using this class