From 1124ca1e3feed05effa8e4c77c3a4a67865ea02d Mon Sep 17 00:00:00 2001 From: Agustin Zubiaga Date: Mon, 03 Jun 2013 20:05:57 +0000 Subject: Using Gtk.TargetList instead of python lists Signed-off-by: Agustin Zubiaga --- (limited to 'activity.py') diff --git a/activity.py b/activity.py index f37e09e..da66477 100644 --- a/activity.py +++ b/activity.py @@ -98,7 +98,7 @@ class ChartArea(Gtk.DrawingArea): Gdk.EventMask.VISIBILITY_NOTIFY_MASK) self.connect('draw', self._draw_cb) - self.drag_dest_set_target_list([]) + self.drag_dest_set_target_list(Gtk.TargetList.new([])) self.drag_dest_add_text_targets() self.connect('drag_data_received', self._drag_data_received) -- cgit v0.9.1