summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2004-06-17 23:38:39 +0000
committerGlynn Foster <gman@src.gnome.org>2004-06-17 23:38:39 +0000
commit6c68b70ca3bb5ea719c5044a2e5d7959f87b1a06 (patch)
treefc7bda92de24d7344e1b6178e90f215fdb8922ad /src
parentFix parsing errors. Patch from Paull Bolle. Fixes #144501. (diff)
downloadzenity-6c68b70ca3bb5ea719c5044a2e5d7959f87b1a06.tar.gz
zenity-6c68b70ca3bb5ea719c5044a2e5d7959f87b1a06.tar.bz2
zenity-6c68b70ca3bb5ea719c5044a2e5d7959f87b1a06.zip
Patch from Luke Suchocki to send HUP to parent instead of itself. Fixes
2004-06-18 Glynn Foster <glynn.foster@sun.com> * THANKS, src/about.c, src/progress.c: Patch from Luke Suchocki to send HUP to parent instead of itself. Fixes #144542.
Diffstat (limited to 'src')
-rw-r--r--src/about.c1
-rw-r--r--src/progress.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/about.c b/src/about.c
index b6ee1d60..c9ae1622 100644
--- a/src/about.c
+++ b/src/about.c
@@ -77,6 +77,7 @@ static const gchar *author_credits[] = {
"Kristian Rietveld <kris gtk org>",
"Christian Rose <menthos menthos com>",
"Jakub Steiner <jimmac ximian com>",
+ "Luke Suchocki <gnome lukiepoo com>",
"Daniel d'Surreal <dagmar speakeasy net>",
"Hidetoshi Tajima <hidetoshi tajima sun com>",
"Tom Tromey <tromey redhat com>",
diff --git a/src/progress.c b/src/progress.c
index 3cc4bd9a..5804e88a 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;
bgstack15