From 6c68b70ca3bb5ea719c5044a2e5d7959f87b1a06 Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Thu, 17 Jun 2004 23:38:39 +0000 Subject: [PATCH] Patch from Luke Suchocki to send HUP to parent instead of itself. Fixes 2004-06-18 Glynn Foster * THANKS, src/about.c, src/progress.c: Patch from Luke Suchocki to send HUP to parent instead of itself. Fixes #144542. --- ChangeLog | 6 ++++++ THANKS | 1 + src/about.c | 1 + src/progress.c | 2 +- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2312398..a26eee1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-06-18 Glynn Foster + + * THANKS, src/about.c, src/progress.c: Patch + from Luke Suchocki to send HUP to parent + instead of itself. Fixes #144542. + 2004-06-17 Glynn Foster * src/main.c: Fix parsing errors. Patch from diff --git a/THANKS b/THANKS index 02561ff..ddbe324 100644 --- a/THANKS +++ b/THANKS @@ -25,6 +25,7 @@ "Kristian Rietveld ", "Christian Rose ", "Jakub Steiner ", + "Luke Suchocki ", "Daniel d'Surreal ", "Hidetoshi Tajima ", "Tom Tromey ", diff --git a/src/about.c b/src/about.c index b6ee1d6..c9ae162 100644 --- a/src/about.c +++ b/src/about.c @@ -77,6 +77,7 @@ static const gchar *author_credits[] = { "Kristian Rietveld ", "Christian Rose ", "Jakub Steiner ", + "Luke Suchocki ", "Daniel d'Surreal ", "Hidetoshi Tajima ", "Tom Tromey ", diff --git a/src/progress.c b/src/progress.c index 3cc4bd9..5804e88 100644 --- a/src/progress.c +++ b/src/progress.c @@ -228,7 +228,7 @@ zenity_progress_dialog_response (GtkWidget *widget, int response, gpointer data) * I'm pretty sure there is a nice way to do this, but I'm clueless about this * stuff. Should be using SIGHUP instead of 1 though. */ - kill (getpid (), 1); + kill (getppid (), 1); zen_data->exit_code = zenity_util_return_exit_code (ZENITY_CANCEL); gtk_main_quit (); break;