mirror of https://github.com/GNOME/gimp.git
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:
parent
e079a173fc
commit
22a86c79d0
26
app/main.c
26
app/main.c
|
@ -54,8 +54,8 @@
|
|||
#ifdef G_OS_WIN32
|
||||
#include <windows.h>
|
||||
#else
|
||||
void on_signal (gint);
|
||||
void on_sig_child (gint);
|
||||
static void on_signal (gint);
|
||||
static void on_sig_child (gint);
|
||||
#endif
|
||||
|
||||
static void init (void);
|
||||
|
@ -65,15 +65,15 @@ static void on_error (const gchar *domain,
|
|||
gpointer user_data);
|
||||
|
||||
/* GLOBAL data */
|
||||
gint no_interface = FALSE;
|
||||
gint no_data = FALSE;
|
||||
gint no_splash = FALSE;
|
||||
gint no_splash_image = FALSE;
|
||||
gint be_verbose = FALSE;
|
||||
gint use_shm = FALSE;
|
||||
gint use_debug_handler = FALSE;
|
||||
gint console_messages = FALSE;
|
||||
gint restore_session = FALSE;
|
||||
gboolean no_interface = FALSE;
|
||||
gboolean no_data = FALSE;
|
||||
gboolean no_splash = FALSE;
|
||||
gboolean no_splash_image = FALSE;
|
||||
gboolean be_verbose = FALSE;
|
||||
gboolean use_shm = FALSE;
|
||||
gboolean use_debug_handler = FALSE;
|
||||
gboolean console_messages = FALSE;
|
||||
gboolean restore_session = FALSE;
|
||||
|
||||
GimpSet *image_context = NULL;
|
||||
|
||||
|
@ -114,8 +114,8 @@ int
|
|||
main (int argc,
|
||||
char **argv)
|
||||
{
|
||||
gint show_version = FALSE;
|
||||
gint show_help = FALSE;
|
||||
gboolean show_version = FALSE;
|
||||
gboolean show_help = FALSE;
|
||||
gint i, j;
|
||||
#ifdef HAVE_PUTENV
|
||||
gchar *display_env;
|
||||
|
|
|
@ -30,21 +30,21 @@
|
|||
#include <signal.h>
|
||||
#include <glib.h>
|
||||
|
||||
/* RETSIGTYPE is a reference to a
|
||||
* (signal handler) function that
|
||||
* takes a signal ID and returns
|
||||
* void. signal(2) returns such
|
||||
* references; so does
|
||||
* gimp_signal_private.
|
||||
/* GimpRetSigType is a reference
|
||||
* to a (signal handler) function
|
||||
* that takes a signal ID and
|
||||
* returns void.
|
||||
* signal(2) returns such references;
|
||||
* so does gimp_signal_private.
|
||||
*/
|
||||
|
||||
typedef void (*RetSigType)(gint);
|
||||
typedef void (*GimpRetSigType)(gint);
|
||||
|
||||
/* Internal implementation that can be */
|
||||
/* DEFINEd into various flavors of */
|
||||
/* signal(2) lookalikes. */
|
||||
|
||||
RetSigType gimp_signal_private (gint signum, void (*gimp_sighandler)(int), gint sa_flags);
|
||||
GimpRetSigType gimp_signal_private (gint signum, void (*gimp_sighandler)(int), gint sa_flags);
|
||||
|
||||
/* the gimp_signal_syscallrestart() */
|
||||
/* lookalike looks like signal(2) but */
|
||||
|
|
|
@ -30,21 +30,21 @@
|
|||
#include <signal.h>
|
||||
#include <glib.h>
|
||||
|
||||
/* RETSIGTYPE is a reference to a
|
||||
* (signal handler) function that
|
||||
* takes a signal ID and returns
|
||||
* void. signal(2) returns such
|
||||
* references; so does
|
||||
* gimp_signal_private.
|
||||
/* GimpRetSigType is a reference
|
||||
* to a (signal handler) function
|
||||
* that takes a signal ID and
|
||||
* returns void.
|
||||
* signal(2) returns such references;
|
||||
* so does gimp_signal_private.
|
||||
*/
|
||||
|
||||
typedef void (*RetSigType)(gint);
|
||||
typedef void (*GimpRetSigType)(gint);
|
||||
|
||||
/* Internal implementation that can be */
|
||||
/* DEFINEd into various flavors of */
|
||||
/* signal(2) lookalikes. */
|
||||
|
||||
RetSigType gimp_signal_private (gint signum, void (*gimp_sighandler)(int), gint sa_flags);
|
||||
GimpRetSigType gimp_signal_private (gint signum, void (*gimp_sighandler)(int), gint sa_flags);
|
||||
|
||||
/* the gimp_signal_syscallrestart() */
|
||||
/* lookalike looks like signal(2) but */
|
||||
|
|
Loading…
Reference in New Issue