add sample_colorize and curve_bend defs
* plug-ins/common/plugin-defs.pl: add sample_colorize and curve_bend defs * libgimp/color_selector.h: minor consistency cleanup * libgimp/gimpchainbutton.[ch]: use new style gtk object helper macros * libgimp/gimpfileselection.c * libgimp/gimpmatrix.h: minor cleanup * libgimp/gimpintl.h: resync with gnome-i18n.h * libgimp/color_display.h * app/gimp.sym * app/gdisplay_color.[ch] * app/app_procs.c * app/gdisplay.h * app/image_render.c: color display transformation code. Still unfinished, so it's not activated yet. * app/buildmenu.h: remove unused defines (PULLDOWN, POPUP, OPTION) * app/colormaps.[ch] * app/image_render.c: remove vestigal dithering stuff * app/convolve.h * app/gimpdrawable.h * app/gimpimage.h * app/lut_funcs.h * app/paint_funcs.h * app/plug_in.h: enum nick changes from Marc * app/channel_ops.c * app/crop.c * app/gdisplay.c * app/gimpimage.[ch] * app/move.c: s/([A-Z]+)_GUIDE/ORIENTATION_$1/ * app/flip_tool.[ch] * app/shear_tool.[ch]: use ORIENTATION_* constants instead of our own * app/disp_callbacks.c: remove HORIZONTAL and VERTICAL #defines * app/general.h: enumified TOKEN_* symbols * app/lc_dialog.c * app/paint_funcs.c: remove unused variables * tools/pdbgen/lib.pl: autogen gimpenums.h (unfinished) * tools/pdbgen/stddefs.pdb: new std_orientation_enum, remove layer_mode shortcut since we've skipped it in app/ * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/gimage.pdb * tools/pdbgen/pdb/guides.pdb * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/tools.pdb: reflect above enum changes, whitespace cleanups * tools/pdbgen/enums.pl * app/brush_select_cmds.c * app/brushes_cmds.c * app/color_cmds.c * app/drawable_cmds.c * app/gimage_cmds.c * app/layer_cmds.c * app/procedural_db_cmds.c * app/tools_cmds.c: reflect pdb and enum nick changes above -Yosh
This commit is contained in:
@ -78,8 +78,8 @@ gimp_chain_button_init (GimpChainButton *gcb)
|
||||
GTK_SIGNAL_FUNC(gimp_chain_button_draw_lines), gcb);
|
||||
}
|
||||
|
||||
guint
|
||||
gimp_chain_button_get_type ()
|
||||
GtkType
|
||||
gimp_chain_button_get_type (void)
|
||||
{
|
||||
static guint gcb_type = 0;
|
||||
|
||||
|
||||
@ -24,24 +24,29 @@
|
||||
provides.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __GIMP_CHAIN_BUTTON_H__
|
||||
#define __GIMP_CHAIN_BUTTON_H__
|
||||
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define GIMP_CHAIN_BUTTON(obj) GTK_CHECK_CAST (obj, gimp_chain_button_get_type (), GimpChainButton)
|
||||
#define GIMP_CHAIN_BUTTON_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gimp_chain_button_get_type (), GimpChainButtonClass)
|
||||
#define GIMP_IS_CHAIN_BUTTON(obj) GTK_CHECK_TYPE (obj, gimp_chain_button_get_type ())
|
||||
|
||||
#define GIMP_TYPE_CHAIN_BUTTON (gimp_chain_button_get_type ())
|
||||
#define GIMP_CHAIN_BUTTON(obj) (GTK_CHECK_CAST ((obj), GIMP_TYPE_CHAIN_BUTTON, GimpChainButton))
|
||||
#define GIMP_CHAIN_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GIMP_TYPE_CHAIN_BUTTON, GimpChainButtonClass))
|
||||
#define GIMP_IS_CHAIN_BUTTON(obj) (GTK_CHECK_TYPE ((obj), GIMP_TYPE_CHAIN_BUTTON))
|
||||
#define GIMP_IS_CHAIN_BUTTON_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_CHAIN_BUTTON))
|
||||
|
||||
typedef struct _GimpChainButton GimpChainButton;
|
||||
typedef struct _GimpChainButtonClass GimpChainButtonClass;
|
||||
|
||||
typedef enum {
|
||||
typedef enum
|
||||
{
|
||||
GIMP_CHAIN_TOP,
|
||||
GIMP_CHAIN_LEFT,
|
||||
GIMP_CHAIN_BOTTOM,
|
||||
@ -79,10 +84,10 @@ void gimp_chain_button_set_active (GimpChainButton *gcb,
|
||||
gboolean is_active);
|
||||
gboolean gimp_chain_button_get_active (GimpChainButton *gcb);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#endif /* __CHAIN_BUTTON_H__ */
|
||||
|
||||
|
||||
|
||||
@ -142,7 +142,7 @@ gimp_file_selection_init (GimpFileSelection *gfs)
|
||||
}
|
||||
|
||||
GtkType
|
||||
gimp_file_selection_get_type ()
|
||||
gimp_file_selection_get_type (void)
|
||||
{
|
||||
static GtkType gfs_type = 0;
|
||||
|
||||
|
||||
@ -142,7 +142,7 @@ gimp_file_selection_init (GimpFileSelection *gfs)
|
||||
}
|
||||
|
||||
GtkType
|
||||
gimp_file_selection_get_type ()
|
||||
gimp_file_selection_get_type (void)
|
||||
{
|
||||
static GtkType gfs_type = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user