diff options
Diffstat (limited to 'deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-callbacks.c')
-rw-r--r-- | deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-callbacks.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-callbacks.c b/deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-callbacks.c new file mode 100644 index 000000000000..325e50a3548d --- /dev/null +++ b/deskutils/gnomeutils2/files/patch-gsearchtool_gsearchtool-callbacks.c @@ -0,0 +1,29 @@ +--- gsearchtool/gsearchtool-callbacks.c.orig Thu Dec 23 19:14:17 2004 ++++ gsearchtool/gsearchtool-callbacks.c Thu Dec 23 19:15:55 2004 +@@ -54,9 +54,11 @@ + quit_application (GSearchCommandDetails * command_details) + { + if (command_details->command_status == RUNNING) { +- command_details->command_status = MAKE_IT_QUIT; + #ifdef HAVE_GETPGID + pid_t pgid; ++#endif ++ command_details->command_status = MAKE_IT_QUIT; ++#ifdef HAVE_GETPGID + + pgid = getpgid (command_details->command_pid); + +@@ -122,10 +124,12 @@ + GSearchWindow * gsearch = data; + + if (gsearch->command_details->command_status == RUNNING) { ++#ifdef HAVE_GETPGID ++ pid_t pgid; ++#endif + gtk_widget_set_sensitive (gsearch->stop_button, FALSE); + gsearch->command_details->command_status = MAKE_IT_STOP; + #ifdef HAVE_GETPGID +- pid_t pgid; + + pgid = getpgid (gsearch->command_details->command_pid); + |