Hello community,

here is the log from the commit of package gmixer for openSUSE:Factory checked 
in at 2015-07-14 17:44:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gmixer (Old)
 and      /work/SRC/openSUSE:Factory/.gmixer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gmixer"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gmixer/gmixer.changes    2015-04-10 
09:53:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gmixer.new/gmixer.changes       2015-07-14 
17:46:12.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Jul 13 11:20:39 CEST 2015 - [email protected]
+
+- Fix the runtime error due to the unrefered variable (boo#937784):
+  gmixer-fix-unreferened-sep.diff
+
+-------------------------------------------------------------------

New:
----
  gmixer-fix-unreferened-sep.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gmixer.spec ++++++
--- /var/tmp/diff_new_pack.twCJp0/_old  2015-07-14 17:46:13.000000000 +0200
+++ /var/tmp/diff_new_pack.twCJp0/_new  2015-07-14 17:46:13.000000000 +0200
@@ -28,6 +28,7 @@
 Source2:        %name-trayicon.desktop
 Patch0:         %name-version_fix.patch
 Patch1:         gmixer-1.3-setup-py.patch
+Patch2:         gmixer-fix-unreferened-sep.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
@@ -52,6 +53,7 @@
 %setup -q
 %patch0 -p1 -b .version_fix
 %patch1 -p1 -b .gmixer-1.3-setup-py
+%patch2 -p1
 
 %build
 python setup.py build

++++++ gmixer-fix-unreferened-sep.diff ++++++
---
 src/gmixer |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/src/gmixer
+++ b/src/gmixer
@@ -979,6 +979,7 @@ class GMixer(gobject.GObject):
         if not self._profiles.has_key(profile):
             self._init_profile(profile)
 
+        sep = None
         for n, track in enumerate(self._current_mixer.list_tracks()):
             volname = track.label.lower()
             if not track.flags: continue
@@ -1010,7 +1011,7 @@ class GMixer(gobject.GObject):
                     self._recordingbox.pack_start(obj,True,False,padding=3)
                     self._recordingbox.pack_start(sep,False,False,padding=3)
                 self._gvolume_dic[track.label.lower()] = obj
-        sep.hide()
+        if sep: sep.hide()
 
         self._playbackscroll.set_property("visible", \
                 bool([ w for w in self._playbackbox.get_children() if 
w.get_property("visible")]) )

Reply via email to