summaryrefslogtreecommitdiff
path: root/src
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 /src
parentc53b690b4e4d94d1c6b0a5cf33acfd704589d904 (diff)
[progress] Remove duplicate code when returning
Diffstat (limited to 'src')
-rw-r--r--src/progress.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/progress.c b/src/progress.c
index 485f479..668f427 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;