[progress] Remove duplicate code when returning

This commit is contained in:
Lucas Rocha 2009-08-08 11:21:24 +01:00
parent c53b690b4e
commit 25ec1ed3bb

View File

@ -243,8 +243,6 @@ zenity_progress_dialog_response (GtkWidget *widget, int response, gpointer data)
*/ */
if (autokill) { if (autokill) {
kill (getppid (), 1); kill (getppid (), 1);
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_CANCEL);
break;
} }
zen_data->exit_code = zenity_util_return_exit_code (ZENITY_CANCEL); zen_data->exit_code = zenity_util_return_exit_code (ZENITY_CANCEL);
break; break;