Replace gtk.gdk with GdkPixbuf in gui_interface.

This commit is contained in:
Emmanuel Gil Peyrot 2016-11-05 15:36:27 +00:00
parent 314b5797f3
commit 6b22dd6ade
1 changed files with 1 additions and 1 deletions

View File

@ -2664,7 +2664,7 @@ class Interface:
return gtkgui_helpers.load_mood_icon(mood).get_pixbuf()
elif isinstance(pep_obj, pep.UserTunePEP):
path = os.path.join(gajim.DATA_DIR, 'emoticons', 'static', 'music.png')
return gtk.gdk.pixbuf_new_from_file(path)
return GdkPixbuf.Pixbuf.new_from_file(path)
elif isinstance(pep_obj, pep.UserActivityPEP):
pep_ = pep_obj._pep_specific_data
activity = pep_['activity']