#!/usr/bin/python

# importing Gdk fixes the crash in gnome shell, but not gnome classic
#from gi.repository import Gdk


from gi.repository import ClutterGst, Gtk

# not initializing clutter gst fixes the crash
ClutterGst.init([])

# changing "x" to "" fixes the crash
label = Gtk.Label("x")

window = Gtk.Window()
window.set_size_request(100,100)
window.add(label)

window.connect("delete-event", Gtk.main_quit)
window.show_all()

Gtk.main()
