GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 6fa33d68 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

Libgimp cleanup part II (with a little help from Yosh who moved the CVS

2000-05-27  Michael Natterer  <mitch@gimp.org>

	Libgimp cleanup part II (with a little help from Yosh
	who moved the CVS files).

	* libgimp/Makefile.am
	* libgimp/gimpchannel_pdb.c
	* libgimp/gimpdisplay_pdb.c
	* libgimp/gimpdrawable_pdb.c
	* libgimp/gimpgradient_pdb.c
	* libgimp/gimphelp_pdb.c
	* libgimp/gimpimage_pdb.c
	* libgimp/gimplayer_pdb.c
	* libgimp/gimppalette_pdb.c
	* libgimp/gimpparasite_pdb.c
	* libgimp/gimpselection_pdb.c
	* libgimp/gimpunit_pdb.c: new names of all files which contain
	PDB wrappers.

	* modules/Makefile.am
	* libgimp/gimpcolordisplay.h
	* libgimp/gimpcolorselector.h
	* modules/gimpmodregister.[ch]: renamed.

	* libgimp/gimpparasiteF.h
	* libgimp/gimpparasiteP.h: removed because gimp.h had to include
	the private header anyway.

	* app/color_notebook.c
	* app/color_select.c
	* app/gdisplay_color.[ch]
	* app/gdisplay_color_ui.c
	* app/gimpbrushpipe.c
	* app/gimpdrawable.[ch]
	* app/gimpimage.c
	* app/gimpimage.h
	* app/gimpparasite.[ch]
	* app/gimprc.c
	* app/image_new.c
	* app/layer.c
	* app/parasite_cmds.c
	* app/parasitelist.[ch]
	* app/plug_in.c
	* app/procedural_db.c
	* app/undo.c
	* app/xcf.c
	* libgimp/gimp.[ch]
	* libgimp/gimpcolordisplay.h
	* libgimp/gimpparasite.[ch]
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/Events.c
	* plug-ins/Lighting/lighting_apply.c
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/common/gpb.c
	* plug-ins/common/psp.c
	* plug-ins/sel2path/sel2path.c
	* po-libgimp/POTFILES.in
	* tools/pdbgen/pdb.pl
	* tools/pdbgen/pdb/parasite.pdb: changed includes accordingly.
parent 763bd6ab
2000-05-27 Michael Natterer <mitch@gimp.org>
Libgimp cleanup part II (with a little help from Yosh
who moved the CVS files).
* libgimp/Makefile.am
* libgimp/gimpchannel_pdb.c
* libgimp/gimpdisplay_pdb.c
* libgimp/gimpdrawable_pdb.c
* libgimp/gimpgradient_pdb.c
* libgimp/gimphelp_pdb.c
* libgimp/gimpimage_pdb.c
* libgimp/gimplayer_pdb.c
* libgimp/gimppalette_pdb.c
* libgimp/gimpparasite_pdb.c
* libgimp/gimpselection_pdb.c
* libgimp/gimpunit_pdb.c: new names of all files which contain
PDB wrappers.
* modules/Makefile.am
* libgimp/gimpcolordisplay.h
* libgimp/gimpcolorselector.h
* modules/gimpmodregister.[ch]: renamed.
* libgimp/gimpparasiteF.h
* libgimp/gimpparasiteP.h: removed because gimp.h had to include
the private header anyway.
* app/color_notebook.c
* app/color_select.c
* app/gdisplay_color.[ch]
* app/gdisplay_color_ui.c
* app/gimpbrushpipe.c
* app/gimpdrawable.[ch]
* app/gimpimage.c
* app/gimpimage.h
* app/gimpparasite.[ch]
* app/gimprc.c
* app/image_new.c
* app/layer.c
* app/parasite_cmds.c
* app/parasitelist.[ch]
* app/plug_in.c
* app/procedural_db.c
* app/undo.c
* app/xcf.c
* libgimp/gimp.[ch]
* libgimp/gimpcolordisplay.h
* libgimp/gimpparasite.[ch]
* modules/cdisplay_gamma.c
* modules/cdisplay_highcontrast.c
* modules/colorsel_gtk.c
* modules/colorsel_triangle.c
* modules/colorsel_water.c
* plug-ins/FractalExplorer/Dialogs.c
* plug-ins/FractalExplorer/Events.c
* plug-ins/Lighting/lighting_apply.c
* plug-ins/Lighting/lighting_shade.c
* plug-ins/MapObject/mapobject_image.c
* plug-ins/common/gpb.c
* plug-ins/common/psp.c
* plug-ins/sel2path/sel2path.c
* po-libgimp/POTFILES.in
* tools/pdbgen/pdb.pl
* tools/pdbgen/pdb/parasite.pdb: changed includes accordingly.
Fri May 26 23:14:14 BST 2000 Andy Thomas <alt@gimp.org>
* plug-ins/common/illusion.c
......
......@@ -94,8 +94,7 @@
#include "libgimp/gimpenv.h"
#include "libgimp/gimpprotocol.h"
#include "libgimp/gimpwire.h"
#include "libgimp/parasite.h"
#include "libgimp/parasiteP.h" /* ick */
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -27,13 +27,14 @@
#include <stdlib.h>
#include <string.h>
/*#include "appenv.h"*/
#include "color_notebook.h"
#include "gimpui.h"
#include "libgimp/color_selector.h"
#include "libgimp/gimpcolorselector.h"
#include "libgimp/gimpintl.h"
static void color_notebook_ok_callback (GtkWidget *widget,
gpointer data);
static void color_notebook_cancel_callback (GtkWidget *widget,
......
......@@ -31,7 +31,7 @@
#include "session.h"
#include "color_area.h" /* for color_area_draw_rect */
#include "libgimp/color_selector.h"
#include "libgimp/gimpcolorselector.h"
#include "libgimp/gimpintl.h"
......
......@@ -28,9 +28,10 @@
#include "gimpparasite.h"
#include "gimprc.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpenv.h"
static ParasiteList *parasites = NULL;
void
......
......@@ -17,7 +17,7 @@
#ifndef __APP_GIMP_PARASITE_H__
#define __APP_GIMP_PARASITE_H__
#include "libgimp/parasiteF.h"
#include "libgimp/gimpparasite.h"
void gimp_init_parasites (void);
......
......@@ -36,10 +36,11 @@
#include "gimprc.h"
#include "libgimp/gimpmath.h"
#include "libgimp/parasiteio.h"
#include "libgimp/gimpparasiteio.h"
#include "libgimp/gimpintl.h"
static GimpBrushClass *gimp_brush_class;
static GimpBrushPixmapClass *gimp_brush_pixmap_class;
......
......@@ -36,10 +36,11 @@
#include "gimprc.h"
#include "libgimp/gimpmath.h"
#include "libgimp/parasiteio.h"
#include "libgimp/gimpparasiteio.h"
#include "libgimp/gimpintl.h"
static GimpBrushClass *gimp_brush_class;
static GimpBrushPixmapClass *gimp_brush_pixmap_class;
......
......@@ -29,7 +29,7 @@
#include "undo.h"
#include "libgimp/gimpmath.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -25,7 +25,8 @@
#include "temp_buf.h"
#include "gimpimageF.h"
#include <libgimp/parasiteF.h>
#include "libgimp/gimpparasite.h"
#define GIMP_TYPE_DRAWABLE (gimp_drawable_get_type ())
#define GIMP_DRAWABLE(obj) (GTK_CHECK_CAST ((obj), GIMP_TYPE_DRAWABLE, GimpDrawable))
......
......@@ -41,7 +41,7 @@
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -25,13 +25,14 @@
#include "drawable.h"
#include "channel.h"
#include "layer.h"
#include <libgimp/parasiteF.h>
#include <libgimp/gimpunit.h>
#include "plug_in.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "path.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpunit.h"
#define GIMP_TYPE_IMAGE gimp_image_get_type()
#define GIMP_IMAGE(obj) GTK_CHECK_CAST (obj, GIMP_TYPE_IMAGE, GimpImage)
......
......@@ -41,7 +41,7 @@
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -25,13 +25,14 @@
#include "drawable.h"
#include "channel.h"
#include "layer.h"
#include <libgimp/parasiteF.h>
#include <libgimp/gimpunit.h>
#include "plug_in.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "path.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpunit.h"
#define GIMP_TYPE_IMAGE gimp_image_get_type()
#define GIMP_IMAGE(obj) GTK_CHECK_CAST (obj, GIMP_TYPE_IMAGE, GimpImage)
......
......@@ -41,7 +41,7 @@
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -25,13 +25,14 @@
#include "drawable.h"
#include "channel.h"
#include "layer.h"
#include <libgimp/parasiteF.h>
#include <libgimp/gimpunit.h>
#include "plug_in.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "path.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpunit.h"
#define GIMP_TYPE_IMAGE gimp_image_get_type()
#define GIMP_IMAGE(obj) GTK_CHECK_CAST (obj, GIMP_TYPE_IMAGE, GimpImage)
......
......@@ -41,7 +41,7 @@
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -25,13 +25,14 @@
#include "drawable.h"
#include "channel.h"
#include "layer.h"
#include <libgimp/parasiteF.h>
#include <libgimp/gimpunit.h>
#include "plug_in.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "path.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpunit.h"
#define GIMP_TYPE_IMAGE gimp_image_get_type()
#define GIMP_IMAGE(obj) GTK_CHECK_CAST (obj, GIMP_TYPE_IMAGE, GimpImage)
......
......@@ -41,7 +41,7 @@
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -25,13 +25,14 @@
#include "drawable.h"
#include "channel.h"
#include "layer.h"
#include <libgimp/parasiteF.h>
#include <libgimp/gimpunit.h>
#include "plug_in.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "path.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpunit.h"
#define GIMP_TYPE_IMAGE gimp_image_get_type()
#define GIMP_IMAGE(obj) GTK_CHECK_CAST (obj, GIMP_TYPE_IMAGE, GimpImage)
......
......@@ -45,7 +45,7 @@
#include "tile_manager_pvt.h"
#include "tile.h" /* ick. */
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -41,7 +41,7 @@
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -25,13 +25,14 @@
#include "drawable.h"
#include "channel.h"
#include "layer.h"
#include <libgimp/parasiteF.h>
#include <libgimp/gimpunit.h>
#include "plug_in.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "path.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpunit.h"
#define GIMP_TYPE_IMAGE gimp_image_get_type()
#define GIMP_IMAGE(obj) GTK_CHECK_CAST (obj, GIMP_TYPE_IMAGE, GimpImage)
......
......@@ -40,12 +40,13 @@
#include "tile.h" /* ick. */
#include "libgimp/gimpmath.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
enum {
enum
{
REMOVED,
LAST_SIGNAL
};
......
......@@ -28,9 +28,10 @@
#include "gimpparasite.h"
#include "gimprc.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpenv.h"
static ParasiteList *parasites = NULL;
void
......
......@@ -17,7 +17,7 @@
#ifndef __APP_GIMP_PARASITE_H__
#define __APP_GIMP_PARASITE_H__
#include "libgimp/parasiteF.h"
#include "libgimp/gimpparasite.h"
void gimp_init_parasites (void);
......
......@@ -21,8 +21,7 @@
#include "gimpsignal.h"
#include "parasitelistP.h"
#include "libgimp/parasite.h"
#include "libgimp/parasiteP.h"
#include "libgimp/gimpparasite.h"
enum
......
......@@ -23,7 +23,7 @@
#include "parasitelistF.h"
#include "gimpobject.h"
#include "libgimp/parasiteF.h"
#include "libgimp/gimpparasite.h"
#define GIMP_TYPE_PARASITE_LIST (parasite_list_get_type ())
......
......@@ -41,7 +41,7 @@
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -25,13 +25,14 @@
#include "drawable.h"
#include "channel.h"
#include "layer.h"
#include <libgimp/parasiteF.h>
#include <libgimp/gimpunit.h>
#include "plug_in.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "path.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpunit.h"
#define GIMP_TYPE_IMAGE gimp_image_get_type()
#define GIMP_IMAGE(obj) GTK_CHECK_CAST (obj, GIMP_TYPE_IMAGE, GimpImage)
......
......@@ -27,13 +27,14 @@
#include <stdlib.h>
#include <string.h>
/*#include "appenv.h"*/
#include "color_notebook.h"
#include "gimpui.h"
#include "libgimp/color_selector.h"
#include "libgimp/gimpcolorselector.h"
#include "libgimp/gimpintl.h"
static void color_notebook_ok_callback (GtkWidget *widget,
gpointer data);
static void color_notebook_cancel_callback (GtkWidget *widget,
......
......@@ -27,7 +27,7 @@
#include "gimpimageP.h"
#include "gimpui.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -26,14 +26,15 @@
#include "gimpimageP.h"
#include "gimpui.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include <gtk/gtk.h>
typedef struct _ColorDisplayInfo ColorDisplayInfo;
struct _ColorDisplayInfo {
char *name;
struct _ColorDisplayInfo
{
gchar *name;
GimpColorDisplayMethods methods;
GSList *refs;
};
......@@ -47,7 +48,7 @@ static void gdisplay_color_detach_real (GDisplay *gdisp,
ColorDisplayNode *node,
gboolean unref);
static gint node_name_compare (ColorDisplayNode *node,
const char *name);
const gchar *name);
void
color_display_init (void)
......@@ -55,7 +56,7 @@ color_display_init (void)
}
G_MODULE_EXPORT gboolean
gimp_color_display_register (const char *name,
gimp_color_display_register (const gchar *name,
GimpColorDisplayMethods *methods)
{
ColorDisplayInfo *info;
......@@ -81,7 +82,7 @@ gimp_color_display_register (const char *name,
}
G_MODULE_EXPORT gboolean
gimp_color_display_unregister (const char *name)
gimp_color_display_unregister (const gchar *name)
{
ColorDisplayInfo *info;
GDisplay *gdisp;
......@@ -147,8 +148,8 @@ color_display_foreach_real (gpointer key,
}
ColorDisplayNode *
gdisplay_color_attach (GDisplay *gdisp,
const char *name)
gdisplay_color_attach (GDisplay *gdisp,
const gchar *name)
{
ColorDisplayInfo *info;
ColorDisplayNode *node;
......
......@@ -18,9 +18,11 @@
#ifndef __GDISPLAY_COLOR_H__
#define __GDISPLAY_COLOR_H__
#include "libgimp/color_display.h"
#include "gdisplayF.h"
#include "libgimp/gimpcolordisplay.h"
typedef struct _ColorDisplayNode ColorDisplayNode;
struct _ColorDisplayNode {
......
......@@ -26,14 +26,15 @@
#include "gimpimageP.h"
#include "gimpui.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include <gtk/gtk.h>
typedef struct _ColorDisplayInfo ColorDisplayInfo;
struct _ColorDisplayInfo {
char *name;
struct _ColorDisplayInfo
{
gchar *name;
GimpColorDisplayMethods methods;
GSList *refs;
};
......@@ -47,7 +48,7 @@ static void gdisplay_color_detach_real (GDisplay *gdisp,
ColorDisplayNode *node,
gboolean unref);
static gint node_name_compare (ColorDisplayNode *node,
const char *name);
const gchar *name);
void
color_display_init (void)
......@@ -55,7 +56,7 @@ color_display_init (void)
}
G_MODULE_EXPORT gboolean
gimp_color_display_register (const char *name,
gimp_color_display_register (const gchar *name,
GimpColorDisplayMethods *methods)
{
ColorDisplayInfo *info;
......@@ -81,7 +82,7 @@ gimp_color_display_register (const char *name,
}
G_MODULE_EXPORT gboolean
gimp_color_display_unregister (const char *name)
gimp_color_display_unregister (const gchar *name)
{
ColorDisplayInfo *info;
GDisplay *gdisp;
......@@ -147,8 +148,8 @@ color_display_foreach_real (gpointer key,
}
ColorDisplayNode *
gdisplay_color_attach (GDisplay *gdisp,
const char *name)
gdisplay_color_attach (GDisplay *gdisp,
const gchar *name)
{
ColorDisplayInfo *info;
ColorDisplayNode *node;
......
......@@ -18,9 +18,11 @@
#ifndef __GDISPLAY_COLOR_H__
#define __GDISPLAY_COLOR_H__
#include "libgimp/color_display.h"
#include "gdisplayF.h"
#include "libgimp/gimpcolordisplay.h"
typedef struct _ColorDisplayNode ColorDisplayNode;
struct _ColorDisplayNode {
......
......@@ -27,7 +27,7 @@
#include "gimpimageP.h"
#include "gimpui.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -36,10 +36,11 @@
#include "gimprc.h"
#include "libgimp/gimpmath.h"
#include "libgimp/parasiteio.h"
#include "libgimp/gimpparasiteio.h"
#include "libgimp/gimpintl.h"
static GimpBrushClass *gimp_brush_class;
static GimpBrushPixmapClass *gimp_brush_pixmap_class;
......
......@@ -29,7 +29,7 @@
#include "undo.h"
#include "libgimp/gimpmath.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -25,7 +25,8 @@
#include "temp_buf.h"
#include "gimpimageF.h"
#include <libgimp/parasiteF.h>
#include "libgimp/gimpparasite.h"
#define GIMP_TYPE_DRAWABLE (gimp_drawable_get_type ())
#define GIMP_DRAWABLE(obj) (GTK_CHECK_CAST ((obj), GIMP_TYPE_DRAWABLE, GimpDrawable))
......
......@@ -41,7 +41,7 @@
#include "libgimp/gimpcolorspace.h"
#include "libgimp/gimplimits.h"
#include "libgimp/parasite.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpintl.h"
......
......@@ -25,13 +25,14 @@
#include "drawable.h"
#include "channel.h"
#include "layer.h"
#include <libgimp/parasiteF.h>
#include <libgimp/gimpunit.h>
#include "plug_in.h"
#include "temp_buf.h"
#include "tile_manager.h"
#include "path.h"
#include "libgimp/gimpparasite.h"
#include "libgimp/gimpunit.h"
#define GIMP_TYPE_IMAGE gimp_image_get_type()
#define GIMP_IMAGE(obj) GT