static void cancel_clicked (GtkWidget *button, ProgressWidgetData *data) { nautilus_progress_info_cancel (data->info); gtk_widget_set_sensitive (button, FALSE); }
static void cancel_clicked (GtkWidget *button, NautilusProgressInfoWidget *self) { nautilus_progress_info_cancel (self->priv->info); gtk_widget_set_sensitive (button, FALSE); }
static void button_clicked (GtkWidget *button, NautilusProgressInfoWidget *self) { if (!nautilus_progress_info_get_is_finished (self->priv->info)) { nautilus_progress_info_cancel (self->priv->info); } }
static void cancel_clicked (GtkWidget *button, NautilusProgressInfoWidget *self) { nautilus_progress_info_cancel (self->priv->info); }