Commit 651c4a19 authored by Martin's avatar Martin

fix a backtrace in the preferences dialog

parent 15a87bf7
Description: fix a backtrace in the preferences dialog
Author: Philipp Hörist <philipp@hoerist.com>
Origin: upstream
Bug-Debian: #886324
Applied-Upstream: 1b8d76bf9e2584adb89d6ad213ef942e341efc6a
Last-Update: 2018-04-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/gajim/common/multimedia_helpers.py
+++ b/gajim/common/multimedia_helpers.py
@@ -38,6 +38,7 @@
element = Gst.ElementFactory.make(name, '%spresencetest' % name)
if element is None:
log.warning('could not create %spresencetest', name)
+ return
if hasattr(element.props, 'device'):
element.set_state(Gst.State.READY)
devices = element.get_properties('device')
fix-preferences-backtrace.patch
do-not-use-distutils.patch
no-git-call.patch
stop-loading-plugins.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment