From b54b187e73a58eb84029383355ae66f95d17d75a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Einar=20J=C3=B8rgen=20Haraldseid?= Date: Sun, 10 May 2015 17:24:11 +0200 Subject: [PATCH] Use GTK3 GObject instead of GTK2 gobject --- example1.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/example1.py b/example1.py index c2e6e6e..3d944ba 100755 --- a/example1.py +++ b/example1.py @@ -7,8 +7,7 @@ # Info on porting python scripts to Gstreamer 1.0 can be found here: # https://wiki.ubuntu.com/Novacut/GStreamer1.0 -from gi.repository import Gst -import gobject +from gi.repository import Gst, GObject class Main: def __init__(self): @@ -32,5 +31,5 @@ class Main: # Create the pipelie and enter main loop, quit with ctrl+c start = Main() -mainloop = gobject.MainLoop() +mainloop = GObject.MainLoop() mainloop.run() -- 2.30.2