Fix a bug in Gtk