summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Rocha <lucasr@gnome.org>2009-08-08 11:21:24 +0100
committerLucas Rocha <lucasr@gnome.org>2009-08-08 11:21:24 +0100
commit25ec1ed3bb17675c2e522e175676f5fa1551c0e7 (patch)
tree1caf8d660a3213d75507f9ef678c683271fc1258
parentBug 572775 – Error in help browser documentation (diff)
downloadzenity-25ec1ed3bb17675c2e522e175676f5fa1551c0e7.tar.gz
zenity-25ec1ed3bb17675c2e522e175676f5fa1551c0e7.tar.bz2
zenity-25ec1ed3bb17675c2e522e175676f5fa1551c0e7.zip
[progress] Remove duplicate code when returning
-rw-r--r--src/progress.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/progress.c b/src/progress.c
index 485f4797..668f4277 100644
--- a/src/progress.c
+++ b/src/progress.c
@@ -243,8 +243,6 @@ zenity_progress_dialog_response (GtkWidget *widget, int response, gpointer data)
*/
if (autokill) {
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);
break;
bgstack15