Commit Graph

1999 Commits

Author SHA1 Message Date
Sven Neumann 243c5f4929 app/channel_cmds.c app/layer_cmds.c libgimp/gimpchannel_pdb.c
2000-12-28  Sven Neumann  <sven@gimp.org>

	* app/channel_cmds.c
	* app/layer_cmds.c
	* libgimp/gimpchannel_pdb.c
	* libgimp/gimplayer_pdb.c
	* plug-ins/common/warp.c
	* plug-ins/gap/gap_exchange_image.c
	* plug-ins/gap/gap_range_ops.c
	* plug-ins/perl/examples/bricks
	* plug-ins/perl/examples/glowing_steel
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/layer.pdb:

	Two of the gimp-perl scripts used to call gimp_layer_delete() after
	gimp_image_remove_layer(). This will fail since the layer is already
	scheduled for destruction by removing it from the associated image or
	by deleting that image. It is thus dangerous and superfluous to export
	this feature through the PDB. The gimp_layer_delete() is hereby
	obsolete and does nothing any longer. I have removed the code calling
	it from all over the place (it was commented out in almost all places).

	The PDB help for gimp_channel_delete() now explicetly tells the user
	about the proper usage of the procedure.
2000-12-27 23:49:17 +00:00
Michael Natterer 7355ee111c app/bezier_select.[ch] massive cleanup (prototypes, indentation, ...)
2000-12-28  Michael Natterer  <mitch@gimp.org>

	* app/bezier_select.[ch]
	* app/bezier_selectP.h: massive cleanup (prototypes, indentation, ...)
2000-12-27 23:40:34 +00:00
Michael Natterer f8769ee5e2 cleanup, proper prototypes, ...
2000-12-28  Michael Natterer  <mitch@gimp.org>

	* app/measure.c: cleanup, proper prototypes, ...
2000-12-27 23:25:51 +00:00
Michael Natterer 7f29801363 gimp_image_merge_layers(): apply the layer mask only if layer->apply_mask
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* app/gimpimage.c: gimp_image_merge_layers(): apply the layer mask
	only if layer->apply_mask is TRUE, cleanup.
2000-12-27 18:15:37 +00:00
Michael Natterer 4c5757ee96 app/gimage.h implemented gimp_image_get_layer_by_index(), small cleanups.
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* app/gimage.h
	* app/gimpimage.[ch]: implemented gimp_image_get_layer_by_index(),
	small cleanups.

	* app/commands.c
	* app/layers_dialog.c: use the new function instead of accessing
	the layer list directly.
2000-12-27 16:12:05 +00:00
Michael Natterer 8d37156c7b layers_dialog_scroll_index(): don't fiddle around with magic numbers when
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* app/layers_dialog.c: layers_dialog_scroll_index(): don't fiddle
	around with magic numbers when calculating the layer widget's
	height but simply ask one of them for it's allocation.  Fixes
	positioning when the preview is smaller than the layer widget list
	item.
2000-12-27 15:00:42 +00:00
Manish Singh 1f410de1aa fix fd leak on pattern loading
-Yosh
2000-12-26 19:11:10 +00:00
Manish Singh a7aca4cb97 disabled display filters code, since it is unfinished
-Yosh
2000-12-24 20:27:04 +00:00
Michael Natterer 274a33a063 This is not my day :) 2000-12-24 16:55:13 +00:00
Michael Natterer baf92ac720 app/color_cmds.c my last s/rangechanged/range_changed/ somehow was not
2000-12-24  Michael Natterer  <mitch@gimp.org>

	* app/color_cmds.c
	* tools/pdbgen/pdb/color.pdb: my last s/rangechanged/range_changed/
	somehow was not really "g" ;)
2000-12-24 16:40:47 +00:00
Sven Neumann c668aaa437 app/gradient.c reviewed the gradient code. The old code used to use list
2000-12-21  Sven Neumann  <sven@gimp.org>

	* app/gradient.c
	* app/gradient_select.[ch]: reviewed the gradient code. The old code
	used to use list indices which led to bug #35612 and other problems.
	We now attach a pointer to the gradient to each row in the GtkClists
	and retrieve the matching row for a gradient using
	gtk_clist_find_row_from_data(). Additionally I have added similar code
	as we use for brushes to assure that no two gradients have the same
	name.
2000-12-21 11:56:58 +00:00
Michael Natterer 886acce136 plonk, my "cleanup" yesterday broke ENABLE_MP. Fixes #35668.
2000-12-20  Michael Natterer  <mitch@gimp.org>

	* app/gimphistogram.c: plonk, my "cleanup" yesterday
	broke ENABLE_MP. Fixes #35668.
2000-12-20 10:33:53 +00:00
Michael Natterer caafe276a5 couldn't resist to heavily indent all function prototypes before starting
2000-12-19  Michael Natterer  <mitch@gimp.org>

	* app/gradient.c: couldn't resist to heavily indent all function
	prototypes before starting to fix the rename-bug. Nothing changed.
2000-12-19 21:49:46 +00:00
Sven Neumann 336e10aed0 applied a patch from David Hodson that reverts the curves tool back to its
2000-12-19  Sven Neumann  <sven@gimp.org>

	* app/curves.c: applied a patch from David Hodson that reverts
	the curves tool back to its old behaviour (start with the identical
	transform), but keeps the fix for bug #33403.
2000-12-19 16:31:49 +00:00
Michael Natterer e7c969dd33 uniquefy pattern names before inserting them into the list. This way DND
2000-12-19  Michael Natterer  <mitch@gimp.org>

	* app/patterns.c: uniquefy pattern names before inserting them
	into the list. This way DND (which passes only the pattern's
	name) works as expected. Fixes #35258.
2000-12-19 16:13:34 +00:00
Michael Natterer 3c85607e6a app/Makefile.am removed.
2000-12-19  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/gimphistogramP.h: removed.

	* app/gimphistogram.[ch]
	* app/histogramwidget.[ch]: Histogram cleanup: replaced the
	channel #define's by a properly named enum and use this enum
	type as parameter in functions instead of "int".

	* app/curves.c
	* app/histogram_tool.c
	* app/levels.c: changed accordingly.
2000-12-19 14:43:54 +00:00
Sven Neumann d75c6435e0 set the spacing and other info from the first brush just as the old code
2000-12-19  Sven Neumann  <sven@gimp.org>

	* app/gimpbrushpipe.c (gimp_brush_pipe_load): set the spacing and
	other info from the first brush just as the old code used to do.
2000-12-19 03:22:05 +00:00
Sven Neumann 3cff8419db Jens Lautenbacher <jtl@gimp.org>
2000-12-18  Sven Neumann  <sven@gimp.org>
	    Jens Lautenbacher <jtl@gimp.org>

	* app/Makefile.am

	* app/gimpbrushlistP.h
	* app/gimpbrushpipeP.h
	* app/gimpobjectP.h: removed these three files

	* app/parasitelistP.h
	* app/channels_dialog.c
	* app/docindex.c
	* app/gimpdrawable.c
	* app/gimpdrawableP.h
	* app/gimpimage.c
	* app/gimpimageP.h
	* app/gimplist.[ch]
	* app/gimpobject.c
	* app/gimpobject.h
	* app/gimpsetP.h: changed according to header removal

	* app/airbrush.c
	* app/brush_select.[ch]
	* app/brushes_cmds.c
	* app/gimpbrush.[ch]
	* app/gimpbrushgenerated.[ch]
	* app/gimpbrushlist.[ch]
	* app/gimpbrushpipe.[ch]
	* app/gimpcontextpreview.c
	* app/paint_core.c
	* app/paintbrush.c
	* app/pencil.c
	* tools/pdbgen/pdb/brushes.pdb: Big Brushes Cleanup.

	The GimpBrush* object hierarchy and the file formats were broken by
	"design". This made it overly difficult to read and write pixmap
	brushes and brush pipes, leading to the situation that The GIMP was
	not able to read it's very own file formats. Since the GimpBrush
	format did support arbitrary color depths, the introduction of a
	file format for pixmap brushes was unnecessary.

	The GimpBrushPixmap object is dead. GimpBrush has an additional
	pixmap temp_buf and handles pixmap brushes transparently. The file
	format of pixmap brushes is not any longer a grayscale brush plus
	a pattern, but a simple brush with RGBA data. The old brushes can
	still be loaded, but the .gpb format is deprecated.

	GimpBrushPipe derives from GimpBrush. The fileformat is still a text
	header, followed by a number of brushes, but those brushes are stored
	in the new GimpBrush format (no pattern anymore). The pipe does not
	care about the depth of the contained GimpBrushes, so we get
	grayscale BrushPipes for free. Since the brush loader still loads the
	old format, old .gih files can also still be loaded.

	Since the brushes in the GimpBrushPipe do not any longer contain a
	pointer to the pipe object, we do only temporarily switch brushes
	in the paint_core routines. This is not very elegant, but the best
	we can do without a major redesign.

	* app/patterns.[ch]: changed the loader to work with a filedescriptor
	instead of a filehandle to make it work with the new brush loading
	code.

	* plug-ins/common/.cvsignore
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/gih.c: new plug-in that saves GIH files in the
	new format (loader will follow soon)

	* plug-ins/common/gpb.c: removed since Pixmap Brushes are no longer
	supported as a special file format.

	* plug-ins/common/gbr.c: load and save brushes in the new brush format
	which allows RGBA brushes too.

	* plug-ins/common/pat.c: load and save grayscale patterns too
2000-12-18 15:14:08 +00:00
Michael Natterer 99e8d420aa don't warn about a non-existant "Script-Fu" menu. (the user should have
2000-12-17  Michael Natterer  <mitch@gimp.org>

	* app/menus.c: don't warn about a non-existant "Script-Fu" menu.
	(the user should have the choice of just removing the script-fu
	plug-in without any side-effects).
2000-12-17 16:05:41 +00:00
Sven Neumann 6639e17c0d preview the curve settings in the image window when initializing the tool.
2000-12-17  Sven Neumann  <sven@gimp.org>

	* app/curves.c: preview the curve settings in the image window when
	initializing the tool. This way the new curves behaviour (init with
	last settings) is visible.

	* app/user_install.c: check that strings are non-NULL before passing
	them to strcmp.

	* libgimp/gimpfileselection: do not try to pass a NULL text to
	gtk_entry_set_text, use an empty string instead.
2000-12-17 00:28:32 +00:00
Sven Neumann 7d0ca8d0fe app/gimppreviewcache.h app/channel.c put the preview cache priming code
2000-12-16  Sven Neumann  <sven@gimp.org>

	* app/gimppreviewcache.h
	* app/channel.c
	* app/layer.c: put the preview cache priming code back into place,
	but disabled it for small images to avoid unnecessary upscaling.
2000-12-16 22:02:10 +00:00
Sven Neumann dfa2bed505 Last-minute cleanup:
2000-12-16  Sven Neumann  <sven@gimp.org>

	Last-minute cleanup:

	* app/gimpdrawableF.h
	* app/gimphistogramF.h
	* app/gimpimageF.h
	* app/gimplistF.h
	* app/gimplutF.h
	* app/gimpobjectF.h
	* app/gimpsetF.h
	* app/layerF.h
	* app/parasitelistF.h: removed these files

	* app/Makefile.am
	* tools/pdbgen/Makefile.am: changed accordingly

	* app/[almost every file]: include cleanup
2000-12-16 21:37:03 +00:00
Sven Neumann 7d0c67b400 fixed a warning since gee is no longer hidden, I put the old code back in
2000-12-16  Sven Neumann  <sven@gimp.org>

	* app/fileops.c: fixed a warning
	* app/menus.c: since gee is no longer hidden, I put the old code
	back in that keeps its entry at the bottom of the menu.
2000-12-15 23:28:15 +00:00
Sven Neumann e29df7e285 added new function gimp_preview_scale().
2000-12-15  Sven Neumann  <sven@gimp.org>

	* app/gimppreviewcache.[ch]: added new function gimp_preview_scale().

	* app/channel.c
	* app/channels_dialog.c
	* app/gimpimage.c
	* app/layer.c
	* app/layers_dialog.c
	* app/lc_dialog.c
	* app/nav_window.c: unified preview drawing code. Previews are never
	generated larger than the canvas size. Image and channel previews are
	scaled up to the desired size, so does the navigation window. The
	layer previews are not yet scaled up again since we can not use
	gimp_preview_scale here. I have removed the preview_cache priming
	code since we don't need it any longer and it caused bad results.
2000-12-15 15:54:17 +00:00
Michael Natterer 06e409e0f7 configure.in Updated Gimp-Help. See help/ChangeLog for details.
2000-12-15  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* help/*: Updated Gimp-Help. See help/ChangeLog for details.

	* app/channels_dialog.c
	* app/gdisplay.c
	* app/gradient.c
	* app/layers_dialog.c
	* app/menus.c
	* app/paths_dialog.c
	* app/preferences_dialog.c
	* app/resize.c: fixed menu paths.

	* plug-ins/helpbrowser/helpbrowser.c: load a special
	"undocumented_filter.html" page if a filter was not found.
	Adapted to the new help structure.

2000-12-15  Michael Natterer  <mitch@gimp.org>

	* makedummyhelpfile.sh
	* makeindex.sh: removed.

	* images/*: added some images.

	* help/*: Updated to the latest version of the gimp-help CVS module.

	This Version instoduces a bunch of new toplevel HTML files for
	general topics, an autogenerated index, TOC, glossary,
	an "image" directory on the "C" level, peace, love, and stuff...

	Thanks to all help writers: Prof, Bex, Piers, ...
2000-12-15 03:47:24 +00:00
Sven Neumann b44620a31b missed a place that needed the same fix for bug #31098.
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/nav_window.c: missed a place that needed the same fix for
	bug #31098.
2000-12-14 22:29:49 +00:00
Sven Neumann 909d0ffa2e call lc_dialog_update_image_list() when resizing the image so the image
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/commands.c (image_resize_callback):
	call lc_dialog_update_image_list() when resizing the image so the
	image preview is updated in the l&c dialog.
2000-12-14 19:59:13 +00:00
Sven Neumann 550aa9b482 app/layers_dialog.c app/lc_dialog.c another try on bug #31098. This time
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/layers_dialog.c
	* app/lc_dialog.c
	* app/nav_window.c: another try on bug #31098. This time limited the
	preview scale ratio in the calling functions. Please test!

	* app/gimpimage.c: small cleanup
2000-12-14 17:28:38 +00:00
Sven Neumann 6130edbf40 modified debug function to help to find missing help files 2000-12-14 14:55:00 +00:00
Sven Neumann 471713e3a7 app/gimpimage.c app/layer.c app/layers_dialog.c cleaned up these files
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/gimpimage.c
	* app/layer.c
	* app/layers_dialog.c
	* app/nav_window.c: cleaned up these files while trying to find a
	fix for #31098. No real changes, the bug is still present :-(
2000-12-14 13:52:16 +00:00
Sven Neumann 2458bfcbba app/color_picker.c app/convert.c app/curves.c app/gimpdrawable.c
2000-12-13  Sven Neumann  <sven@gimp.org>

        * app/color_picker.c
        * app/convert.c
        * app/curves.c
        * app/gimpdrawable.c
        * app/gimpimage.c
        * app/gimpimage.h
        * app/image_map.c
        * app/info_window.c
        * app/layer.c
        * app/undo.c: couldn't resist: renamed TYPE_HAS_ALPHA() to
        GIMP_IMAGE_TYPE_HAS_ALPHA()

        * plug-ins/common/sunras.c
        * plug-ins/common/xwd.c: small cleanups
2000-12-13 18:53:35 +00:00
GMT 2000 Andy Thomas c538b3fe37 app/gimpimage.c app/layers_dialog.c
Mon Dec 11 22:52:43 GMT 2000 Andy Thomas <alt@gimp.org>

	* app/gimpimage.c
        * app/layers_dialog.c

	Backed out some changes that caused problems with the Nav preview
	and small sized images.
2000-12-11 22:46:40 +00:00
Sven Neumann d7c90b6d67 check for NULL pointer
2000-12-11  Sven Neumann  <sven@gimp.org>

	* app/channel.c (channel_invalidate_previews): check for NULL pointer

	* app/fileops.c: if saving and loading images at the same time, the
	PDB obviously manages to mangle return values. By checking the
	validity of the returned image id we avoid to crash as described in
	bug #26788.

	* app/module_db.c: unload modules from the idle_loop as suggested
	by Austin in #5745.
2000-12-11 21:31:08 +00:00
Sven Neumann 01412f0ba2 clamp scale factor between 0.0 and 1.0 to avoid problems with broken
2000-12-11  Sven Neumann  <sven@gimp.org>

	* app/paint_core.c: clamp scale factor between 0.0 and 1.0 to avoid
	problems with broken XInput drivers. Should fix bug #18913.
2000-12-11 19:30:22 +00:00
Sven Neumann fe4acfa4ed use the correct pointer when dumping gradients to stderr in case of
2000-12-11  Sven Neumann  <sven@gimp.org>

	* app/gradient.c: use the correct pointer when dumping gradients to
	stderr in case of problems. Sort of fixes bug #31510.
2000-12-11 17:15:29 +00:00
Sven Neumann b755f5751a corrected incrementor for the bpp == 4 case. Fixes bug #34738.
2000-12-11  Sven Neumann  <sven@gimp.org>

	* app/gimphistogram.c (gimp_histogram_calculate_sub_region):
	corrected incrementor for the bpp == 4 case. Fixes bug #34738.
2000-12-11 16:31:07 +00:00
Sven Neumann ed707bea13 app/edit_selection.c app/gimpimage.c app/layer_select.c when computing a
2000-12-11  Sven Neumann  <sven@gimp.org>

	* app/edit_selection.c
	* app/gimpimage.c
	* app/layer_select.c
	* app/layers_dialog.c: when computing a preview, limit the scale ratio
	to a maximum of 1.0. By doing so we avoid to scale drawables up if the
	image (canvas) size becomes larger than the drawable. Fixes bug #31098.

	* app/gimppreviewcache.[ch]: indented
2000-12-11 03:33:25 +00:00
Sven Neumann 1edd823545 do not set the layer mode of the bottom layer to NORMAL_MODE if it is
2000-12-03  Sven Neumann  <sven@gimp.org>

	* app/gimpimage.c: do not set the layer mode of the bottom layer to
	NORMAL_MODE if it is DISSOLVE_MODE since the latter does not work
	on the projection with the lower layer but on the layers alpha
	channel. Fixes bug #7829.
2000-12-03 21:34:38 +00:00
Michael Natterer ab6f72912c when applying or deleting the layer mask, we have to call
2000-12-03  Michael Natterer  <mitch@gimp.org>

	* app/layers_dialog.c: when applying or deleting the layer mask,
	we have to call layers_dialog_set_menu_sensitivity() ourselves
	whenever calling layer_widget_layer_flush() instead of
	gdisplays_flush().
2000-12-03 19:18:01 +00:00
Michael Natterer 6bb4458abb plug-ins/gflare/gflare.c libgimp/gimpunitmenu.c set separators of option
2000-12-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/gflare/gflare.c
	* libgimp/gimpunitmenu.c
	* libgimp/gimpwidgets.c: set separators of option menus insensitive.
	(see Sven's fix below below).

	* app/layers_dialog.c: set "Merge Down" insensitive for
	the bottom layer.
2000-12-03 18:35:58 +00:00
Sven Neumann 0d9382fb04 app/layer.c app/layers_dialog.c reviewed code in an attempt to fix the
2000-12-03  Sven Neumann  <sven@gimp.org>

	* app/layer.c
	* app/layers_dialog.c
	* plug-ins/common/jpeg.c: reviewed code in an attempt to fix the
	crash-on-jpeg-save. The only thing that I have changed (despite
	lots of indentation) is that we now connect the preview rewdraw
	using gtk_signal_connect_while_alive() which should keep gimp from
	trying to create previews of nonexistant drawables.

Updated german translation.
2000-12-03 18:15:08 +00:00
GMT 2000 Andy Thomas fb4fb8c014 app/curves.c app/levels.c
Thu Nov 30 23:26:07 GMT 2000 Andy Thomas <alt@gimp.org>

	* app/curves.c
        * app/levels.c

	Fix for gimp bug #33403. The curves and levels dialogs should now
	work in GRAYA images.
2000-11-30 23:23:59 +00:00
Austin Donnelly 9a3f33f6f0 Applied patch from David Hodson <hodsond@ozemail.com.au> to fix Bug#33399:
2000-11-29  Austin Donnelly  <austin@gimp.org>

	* app/curves.c: Applied patch from David Hodson
	    <hodsond@ozemail.com.au> to fix Bug#33399: GIMP crashes when
	    applying curve to Grayscaled image when preview is off.
	    Previously the curves tool attempted a reset when changing
	    image, but didn't correctly do this.  Now it has the
	    (more useful) behaviour of doing a partial reset, where the
	    curve remains the same across multiple invocations, allowing
	    you to apply the same tweak to multiple images.  The internal
	    state relevant to image type/depth is correctly reset,
	    stopping the segfault behaviour seen before.

	    Still no fix for Bug#33403: Curves/Levels Tool does not work
	    on GRAYA-Images.
2000-11-29 16:19:43 +00:00
Sven Neumann 969b4c5957 PLUG_IN_MAINTAINERS changed email address of Winston Chang
2000-11-26  Sven Neumann  <sven@gimp.org>

	* PLUG_IN_MAINTAINERS
	* plug-ins/common/unsharp.c: changed email address of Winston Chang

	* app/gdisplay_color_ui.c: applied a modified version of another
	patch sent by David Odin <David.Odin@bigfoot.com> which sets the
	sensitivity of the buttons in the dialog according to the possible
	actions.
2000-11-26 12:13:23 +00:00
Garry R. Osgood 18871b798e 2000-11-24 Garry R. Osgood <gosgood>@idt.net *
* app/smudge.c
Defer tool initialization to first motion event.
Fixes latency problem that gave rise to
Shift-smudge bug. Closes #30778.
2000-11-24 17:49:03 +00:00
Sven Neumann 81799a1b29 app/gdisplay_color.c applied patches proposed by David Odin
2000-11-21  Sven Neumann  <sven@gimp.org>

	* app/gdisplay_color.c
	* app/gdisplay_color_ui.c: applied patches proposed by
	David Odin <David.Odin@bigfoot.com>. Fixes segfault when removing
	a display filter twice.
2000-11-21 20:54:53 +00:00
Sven Neumann 54f243d76c changed the logic that sets the default for "Custom Palette" so it goes
2000-11-20  Sven Neumann  <sven@gimp.org>

	* app/convert.c (build_palette_button): changed the logic that sets
	the default for "Custom Palette" so it goes through the whole list
	instead of stopping at the "Web" palette. The Indexed-Conversion
	dialog now also remembers palettes appearing after the "Web" palette.
2000-11-20 12:06:45 +00:00
Michael Natterer cdd0a5147d app/fileops.c Make sure that we don't try to destroy query_boxes twice or
2000-11-18  Michael Natterer  <mitch@gimp.org>

	* app/fileops.c
	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
	query_boxes twice or try to disconnect not-any-more connected
	handlers.

	* app/color_notebook.c
	* app/gimpcontext.[ch]
	* app/gimphelp.[ch]
	* app/lc_dialog.[ch]
	* app/menus.h
	* app/preferences_dialog.c
	* app/tools.[ch]
	* libgimp/gimpcolorbutton.[ch]
	* libgimp/gimpdialog.[ch]
	* libgimp/gimpexport.[ch]
	* libgimp/gimpfileselection.[ch]
	* libgimp/gimphelpui.[ch]
	* libgimp/gimppatheditor.[ch]
	* libgimp/gimppixmap.[ch]
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpui.[ch]
	* libgimp/gimpunitmenu.[ch]
	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
	and many other strings passed to UI functions to (const gchar *).
	As a consequence, I had to fix lots of warnings ;)

	* plug-ins/common/tga.c
	* plug-ins/imagemap/imap_main.c: fixed warnings.

	Code cleanup and indentation all over the place.
2000-11-18 00:25:42 +00:00
Sven Neumann c84c286b87 we used to g_free memory returned by strdup() here! Also we used to append
2000-11-15  Sven Neumann  <sven@gimp.org>

	* app/fileops.c: we used to g_free memory returned by strdup() here!
	Also we used to append DIR_SEPARATORs to the filename shown in the
	file_selector even if it already ended in one. Fixed all this, closed
	a memleak and cleaned up the code.
2000-11-15 17:48:43 +00:00
Simon Budig cc2f917cc5 fixed #10554 by requesting a window with the max. size of
2000-11-11  Simon Budig <simon@gimp.org>

        * app/interface.c: fixed #10554 by requesting a window
        with the max. size of 0.75*screen_width x 0.75*screen_height.
        These 75% value is taken from the shrink_wrap code and
        probably should be configurable...
2000-11-12 00:43:15 +00:00