fix compiler warning.

2001-08-10  Michael Natterer  <mitch@convergence.de>

	* app/nav_window.c: fix compiler warning.

	* app/core/gimp.[ch]: added gimp->documents which will be an MRU
	list of GimpImagefile objects.

	* app/core/gimpcontainer.c: added some g_return_if_fail().

	* app/gui/palette-editor.c: use GtkImage instead of GtkPixmap,
	s/gtk_signal_*/g_signal_*/.

	* app/widgets/gimppreview.c: render the checkerboard only for
	channel == -1. In particular, don't render it for channel
	previews.

	* app/module_db.c
	* app/core/*.c
	* app/gui/colormap-dialog.c
	* app/tools/gimpairbrushtool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimperasertool.c
	* app/tools/gimppaintbrushtool.c
	* app/tools/gimppenciltool.c
	* app/tools/gimpsmudgetool.c
	* app/tools/tool_manager.c
	* app/widgets/*.c
	* libgimpwidgets/*.c: s/gtk_type_new/g_object_new/
This commit is contained in:
Michael Natterer
2001-08-10 14:41:39 +00:00
committed by Michael Natterer
parent 457854317a
commit 2353c5d3e7
103 changed files with 357 additions and 278 deletions

View File

@ -46,10 +46,10 @@ static GtkWidget * gimp_image_preview_create_popup (GimpPreview *preview);
static GimpPreviewClass *parent_class = NULL;
GtkType
GType
gimp_image_preview_get_type (void)
{
static GtkType preview_type = 0;
static GType preview_type = 0;
if (! preview_type)
{
@ -80,7 +80,7 @@ gimp_image_preview_class_init (GimpImagePreviewClass *klass)
object_class = (GtkObjectClass *) klass;
preview_class = (GimpPreviewClass *) klass;
parent_class = gtk_type_class (GIMP_TYPE_PREVIEW);
parent_class = g_type_class_peek_parent (klass);
preview_class->render = gimp_image_preview_render;
preview_class->get_size = gimp_image_preview_get_size;