2002-12-05 Michael Natterer <mitch@gimp.org> Cleaned up the exit process: * app/core/gimp.[ch]: added an "exit" signal which carries a "gboolean kill_it" parameter and has a boolean return value. Added gimp_boolean_handled_accumulator() so the emission of "exit" can be stopped by returning TRUE from a callback. Removed gimp_shutdown() from the public API and made it "exit"'s default implementation. Addec gimp_exit() to emit the signal. * app/core/gimpmarshal.list: added BOOLEAN__BOOLEAN marshaller. * app/gui/gui.[ch]: Replaced public functions gui_shutdown() and gui_exit() by "exit" callbacks. g_signal_connect_after() the latter so the shutdown order is correct. * app/app_procs.[ch]: removed app_exit() and connect to "exit". Split the exit stuff into normal and connect_after callbacks as above. * app/batch.c * app/gui/file-commands.c * tools/pdbgen/pdb/misc.pdb * app/widgets/gimptoolbox.c: call gimp_exit() instead of app_exit(). Don't #include "app_procs.h". * app/pdb/misc_cmds.c: regenerated.
67 lines
1.9 KiB
Text
67 lines
1.9 KiB
Text
# see glib-genmarshal(1) for a detailed description of the file format,
|
|
# possible parameter types are:
|
|
# VOID indicates no return type, or no extra
|
|
# parameters. if VOID is used as the parameter
|
|
# list, no additional parameters may be present.
|
|
# BOOLEAN for boolean types (gboolean)
|
|
# CHAR for signed char types (gchar)
|
|
# UCHAR for unsigned char types (guchar)
|
|
# INT for signed integer types (gint)
|
|
# UINT for unsigned integer types (guint)
|
|
# LONG for signed long integer types (glong)
|
|
# ULONG for unsigned long integer types (gulong)
|
|
# ENUM for enumeration types (gint)
|
|
# FLAGS for flag enumeration types (guint)
|
|
# FLOAT for single-precision float types (gfloat)
|
|
# DOUBLE for double-precision float types (gdouble)
|
|
# STRING for string types (gchar*)
|
|
# BOXED for boxed (anonymous but reference counted) types (GBoxed*)
|
|
# POINTER for anonymous pointer types (gpointer)
|
|
# PARAM for GParamSpec or derived types (GParamSpec*)
|
|
# OBJECT for GObject or derived types (GObject*)
|
|
# NONE deprecated alias for VOID
|
|
# BOOL deprecated alias for BOOLEAN
|
|
|
|
BOOLEAN: BOOLEAN
|
|
BOOLEAN: OBJECT
|
|
BOOLEAN: POINTER
|
|
BOOLEAN: VOID
|
|
|
|
INT: OBJECT
|
|
INT: POINTER
|
|
|
|
OBJECT: BOOLEAN
|
|
OBJECT: INT
|
|
OBJECT: POINTER
|
|
|
|
POINTER: INT
|
|
POINTER: INT, INT
|
|
POINTER: OBJECT, INT
|
|
POINTER: POINTER
|
|
POINTER: POINTER, INT
|
|
POINTER: POINTER, INT, INT
|
|
POINTER: VOID
|
|
|
|
VOID: BOXED
|
|
VOID: DOUBLE
|
|
VOID: ENUM
|
|
VOID: INT
|
|
VOID: INT, BOOLEAN, INT, OBJECT
|
|
VOID: INT, INT
|
|
VOID: INT, INT, INT
|
|
VOID: INT, INT, INT, INT
|
|
VOID: INT, OBJECT
|
|
VOID: INT, POINTER
|
|
VOID: INT, POINTER, POINTER
|
|
VOID: OBJECT
|
|
VOID: OBJECT, INT
|
|
VOID: OBJECT, INT, POINTER
|
|
VOID: OBJECT, POINTER
|
|
VOID: POINTER
|
|
VOID: POINTER, INT
|
|
VOID: POINTER, INT, OBJECT
|
|
VOID: POINTER, OBJECT
|
|
VOID: POINTER, POINTER
|
|
VOID: POINTER, UINT, INT, OBJECT
|
|
VOID: UINT
|
|
VOID: VOID
|