summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-08-07 08:37:55 +0200
committerMaZderMind <git@mazdermind.de>2015-08-07 08:37:55 +0200
commita753cd71a02cd64c3dd03bbf4d22b605bae82c7e (patch)
tree9b08b3274b32c707a8eb7e0f9e17a89f0e0b3427
parent34b3d802babc3818f77057c8cd7665e58fe16bfd (diff)
Use New-Style Classes
-rw-r--r--voctogui/lib/audioleveldisplay.py2
-rw-r--r--voctogui/lib/videodisplay.py2
-rw-r--r--voctogui/lib/warningoverlay.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/voctogui/lib/audioleveldisplay.py b/voctogui/lib/audioleveldisplay.py
index 8b9bf7e..bc2a38f 100644
--- a/voctogui/lib/audioleveldisplay.py
+++ b/voctogui/lib/audioleveldisplay.py
@@ -1,7 +1,7 @@
import logging
from gi.repository import Gst, Gtk
-class AudioLevelDisplay:
+class AudioLevelDisplay(object):
""" Displays a Level-Meter of another VideoDisplay into a GtkWidget """
def __init__(self, drawing_area):
diff --git a/voctogui/lib/videodisplay.py b/voctogui/lib/videodisplay.py
index 00648ef..a2f7f5a 100644
--- a/voctogui/lib/videodisplay.py
+++ b/voctogui/lib/videodisplay.py
@@ -1,7 +1,7 @@
import logging
from gi.repository import Gst
-class VideoDisplay:
+class VideoDisplay(object):
""" Displays a Voctomix-Video-Stream into a GtkWidget """
def __init__(self, drawing_area, port, play_audio=False, draw_callback=None, level_callback=None):
diff --git a/voctogui/lib/warningoverlay.py b/voctogui/lib/warningoverlay.py
index 73e1b33..ad86b69 100644
--- a/voctogui/lib/warningoverlay.py
+++ b/voctogui/lib/warningoverlay.py
@@ -1,7 +1,7 @@
import logging
from gi.repository import GLib
-class VideoWarningOverlay:
+class VideoWarningOverlay(object):
""" Displays a Warning-Overlay above the Video-Feed of another VideoDisplay """
def __init__(self):