Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/camera_sensor/camera_sensor.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/camera_sensor/camera_sensor.py')
-rw-r--r--plugins/camera_sensor/camera_sensor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/camera_sensor/camera_sensor.py b/plugins/camera_sensor/camera_sensor.py
index 5bd21ee..927f031 100644
--- a/plugins/camera_sensor/camera_sensor.py
+++ b/plugins/camera_sensor/camera_sensor.py
@@ -16,7 +16,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
import gst
-import gtk
+from util.gtkcompat import Gtk
from fcntl import ioctl
import os
from gettext import gettext as _
@@ -236,6 +236,6 @@ is pushed to the stack'),
self._video_capture_device.close()
self._camera.save_camera_input_to_file()
self._camera.stop_camera_input()
- return gtk.gdk.pixbuf_new_from_file(self._imagepath)
+ return GdkPixbuf.Pixbuf.new_from_file(self._imagepath)
else:
return None