cleaned up the messy spanish translation someone added

fixed compiler warnings, changed some gints to gbooleans

cleaned up namespace and documentation

updated libgimp documentation



--Sven
This commit is contained in:
Sven Neumann 2000-04-21 18:37:25 +00:00
parent b3496287b4
commit e47e118dd7
2 changed files with 22 additions and 24 deletions

View File

@ -21,11 +21,14 @@
#include "gimpsignal.h"
/* Courtesy of Austin Donnelly 06-04-2000 to address bug #2742 */
/**
* gimp_signal:
* @signum: selects signal to be handled see man 5 signal
* @handler: handler that maps to signum. Invoked by O/S.
* handler gets signal that caused invocation.
* gimp_signal_private:
* @signum: selects signal to be handled see man 5 signal
* @gimp_sighandler: handler that maps to signum. Invoked by O/S.
* handler gets signal that caused invocation.
* @sa_flags: preferences. OR'ed SA_<xxx>. See signal.h
*
* This function furnishes a workalike for signal(2) but
@ -33,21 +36,17 @@
* sa_flags are set; these primarily to ensure restarting
* of interrupted system calls. See sigaction(2) It is a
* aid to transition and not new development: that effort
* should employ sigaction directly. [<gosgood@idt.net> 18.04.2000]
* should employ sigaction directly. [gosgood 18.04.2000]
*
* Cause handler to be run when signum is delivered. We
* use sigaction(2) rather than signal(2) so that we can control the
* signal hander's environment completely via sa_flags: some signal(2)
* implementations differ in their sematics, so we need to nail down
* exactly what we want. [<austin@gimp.org> 06.04.2000]
*
* Returns: RetSigType (a reference to a signal handling function)
* exactly what we want. [austin 06.04.2000]
*
* Returns: a reference to a signal handling function
*/
/* Courtesy of Austin Donnelly 06-04-2000 to address bug #2742 */
RetSigType
GimpRetSigType
gimp_signal_private (gint signum, void (*gimp_sighandler)(int), gint sa_flags)
{
int ret;

View File

@ -21,11 +21,14 @@
#include "gimpsignal.h"
/* Courtesy of Austin Donnelly 06-04-2000 to address bug #2742 */
/**
* gimp_signal:
* @signum: selects signal to be handled see man 5 signal
* @handler: handler that maps to signum. Invoked by O/S.
* handler gets signal that caused invocation.
* gimp_signal_private:
* @signum: selects signal to be handled see man 5 signal
* @gimp_sighandler: handler that maps to signum. Invoked by O/S.
* handler gets signal that caused invocation.
* @sa_flags: preferences. OR'ed SA_<xxx>. See signal.h
*
* This function furnishes a workalike for signal(2) but
@ -33,21 +36,17 @@
* sa_flags are set; these primarily to ensure restarting
* of interrupted system calls. See sigaction(2) It is a
* aid to transition and not new development: that effort
* should employ sigaction directly. [<gosgood@idt.net> 18.04.2000]
* should employ sigaction directly. [gosgood 18.04.2000]
*
* Cause handler to be run when signum is delivered. We
* use sigaction(2) rather than signal(2) so that we can control the
* signal hander's environment completely via sa_flags: some signal(2)
* implementations differ in their sematics, so we need to nail down
* exactly what we want. [<austin@gimp.org> 06.04.2000]
*
* Returns: RetSigType (a reference to a signal handling function)
* exactly what we want. [austin 06.04.2000]
*
* Returns: a reference to a signal handling function
*/
/* Courtesy of Austin Donnelly 06-04-2000 to address bug #2742 */
RetSigType
GimpRetSigType
gimp_signal_private (gint signum, void (*gimp_sighandler)(int), gint sa_flags)
{
int ret;