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