gimp/modules
Michael Natterer d7055a3351 Ported module loading to GTypeModule, getting rid of all own module
2002-10-20  Michael Natterer  <mitch@gimp.org>

	Ported module loading to GTypeModule, getting rid of all own
	module registering/bookkeeping stuff for color selectors and
	display filters. The modules now simply register GimpColorSelector
	and GimpColorDisplay subclasses, the list of registered subclasses
	can then be obtained calling g_type_children() on the abstract
	base classes.

	This is work in progress and just the first working state after I
	started breaking everything...

	* app/gui/color-select.[ch]
	* libgimp/gimpcolordisplay.h
	* libgimp/gimpcolorselector.h: removed.

	* app/gui/Makefile.am
	* libgimp/Makefile.am: changed accordingly.

	* libgimp/gimpmodule.h: massively simplified. All voodoo is gone.

	* libgimpwidgets/gimpcolordisplay.[ch]
	* libgimpwidgets/gimpcolorselector.[ch]: new abstract base classes
	which need to be subclassed by modules.

	* libgimpwidgets/gimpcolorselect.[ch]: the built-in color selector
	from app/gui/color-select.* ported to be a GimpColorSelector
	subclass.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetsmarshal.list
	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.

	* app/core/gimpmoduleinfo.[ch]: made it a GTypeModule subclass

	* app/core/gimpmodules.c: changed accordingly.

	* app/core/gimpcontainer.c
	* app/core/gimplist.c: HACKED around to allow GimpLists of
	GObjects (not GimpObjects). This is EEKy, so I will either make
	gimp->modules a simple GList and revert this bit of change, or
	allow GObjects all over the place in GimpContainer land...

	* app/display/gimpdisplayshell-filter.[ch]
	* app/gui/color-notebook.c: removed all module stuff and use
	g_type_children() to get the list of available color_selectors
	and display_filters.

	* app/display/gimpdisplayshell-filter-dialog.c
	* app/display/gimpdisplayshell-render.c
	* app/gui/module-browser.c: changed accordingly.

	* app/gui/gui.c: ref the built-in color selector's class before
	the modules are queried so it appears first in the list of
	GimpColorSelector's children.

	* modules/Makefile.am: build the water color selector again.

	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: ported them all to the new API.

	* modules/gimpmodregister.[ch]: removed the old EMX module hack.
2002-10-20 10:14:17 +00:00
..
.cvsignore shut up CVS 2000-08-26 12:52:38 +00:00
Makefile.am Ported module loading to GTypeModule, getting rid of all own module 2002-10-20 10:14:17 +00:00
cdisplay_gamma.c Ported module loading to GTypeModule, getting rid of all own module 2002-10-20 10:14:17 +00:00
cdisplay_highcontrast.c Ported module loading to GTypeModule, getting rid of all own module 2002-10-20 10:14:17 +00:00
colorsel_gtk.c libgimpwidgets/gimpfileselection.c replaced deprecated GDK calls 2001-07-31 13:28:11 +00:00
colorsel_triangle.c Ported module loading to GTypeModule, getting rid of all own module 2002-10-20 10:14:17 +00:00
colorsel_water.c Ported module loading to GTypeModule, getting rid of all own module 2002-10-20 10:14:17 +00:00
makefile.mingw.in disabled display filters code, since it is unfinished 2000-12-24 20:27:04 +00:00
makefile.msc #define GETTEXT_PACKAGE 2002-03-28 00:10:56 +00:00
module.def A line had been deleted by mistake. 1999-03-08 21:59:55 +00:00