added gtk_widget_set_can_default to support old GTK+ versions