colordialog: Unset check cancellable

This commit is contained in:
Matthias Clasen 2022-11-29 19:25:12 -05:00
parent 417382375b
commit c45f172e79

View File

@ -458,6 +458,7 @@ gtk_color_dialog_choose_rgba (GtkColorDialog *self,
window = create_color_chooser (self, parent, initial_color);
task = g_task_new (self, cancellable, callback, user_data);
g_task_set_check_cancellable (task, FALSE);
g_task_set_source_tag (task, gtk_color_dialog_choose_rgba);
g_task_set_task_data (task, window, (GDestroyNotify) gtk_window_destroy);