Fix TypeErrors due to Gtk.Clipboard API difference between PyGTK and PyGObject