from gi.repository import Gtk, GLib

theme = Gtk.IconTheme.get_default()
pixbuf = theme.load_icon('distributor-logo', 24, Gtk.IconLookupFlags.USE_BUILTIN)

i = Gtk.Image()
print 'created:', i
GLib.idle_add(i.set_from_pixbuf, pixbuf)
GLib.idle_add(Gtk.main_quit)
i.destroy()

Gtk.main()
