Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/talogo.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt/talogo.py')
-rw-r--r--TurtleArt/talogo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/talogo.py b/TurtleArt/talogo.py
index 12be92f..c5a2253 100644
--- a/TurtleArt/talogo.py
+++ b/TurtleArt/talogo.py
@@ -21,7 +21,7 @@
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
#THE SOFTWARE.
-import gtk
+from util.gtkcompat import GdkPixbuf
from time import time
from operator import isNumberType
@@ -578,7 +578,7 @@ class LogoCode:
self.filepath is not None and \
self.filepath != '':
try:
- pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(self.filepath,
+ pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size(self.filepath,
w, h)
except:
self.tw.showlabel('nojournal', self.filepath)