Commit Graph

531 Commits

Author SHA1 Message Date
Adam D. Moss 814a4285c6 Attempt to speed-up and/or sanitize MAX/MIN/CLAMP macro usage throughout
* app/appenv.h app/brightness_contrast.c app/color_balance.c
	app/curves.c app/gdisplay.h app/gdisplay_ops.c
	app/hue_saturation.c app/paint_core.c app/paint_funcs.c
	app/undo.c: Attempt to speed-up and/or sanitize
	MAX/MIN/CLAMP macro usage throughout gimp-core.
1998-07-24 18:52:03 +00:00
CDT 1998 Larry Ewing d982011311 Fixed a string allocation problem that failed to account for the trailing
Fri Jul 24 12:01:31 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/gdisplay.c (gdisplay_update_cursor): Fixed a string
	allocation problem that failed to account for the trailing \0
	(removed time sensitve calculation/malloc in the process).
1998-07-24 17:14:26 +00:00
jaycox 69d922412a ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/Makefile.am app/brush_select.c app/gimpbrush.c
 	app/gimpbrush.h app/gimpbrushgenerated.c app/gimpbrushlist.c
 	app/gimplist.c app/paint_core.c app/paint_core.h
    added axis to brushes.  paint_core now references a brush instead
    of a mask.  cleaned up some [brush]list removal stuff.


 Added Files:
 	app/vector2d.c app/vector2d.h
    very basic vector math struct/functions.
----------------------------------------------------------------------
1998-07-24 08:56:18 +00:00
scott cb8a1d0231 Fixed a problem with losing tile data in certain situations. -sg 1998-07-24 03:58:16 +00:00
CDT 1998 Shawn T. Amundson 78d8af84e1 usize statusbar to 1 width
Thu Jul 23 21:57:25 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/interface.c: usize statusbar to 1 width
1998-07-24 03:20:54 +00:00
Sven Neumann 1f73342df7 Display the move offset in the statusbar and some code cleanup in
rect_select.c. Sorry for committing so much half-done stuff in the last
time. I'll do more testing in the future...


--Sven
1998-07-23 18:33:01 +00:00
Manish Singh 1e365c6a0d tell the PDB that gimp_register_magic_load_handler takes 4 args
-Yosh
1998-07-23 17:32:32 +00:00
Sven Neumann 3e5417c095 I forgot to commit some changes...
--Sven
1998-07-23 14:05:55 +00:00
Sven Neumann 6b01e79246 Display the selection-mode in the statusbar.
Restoring saved sessions works again.


--Sven
1998-07-22 23:55:43 +00:00
scott 1e9108c41d Squashed a deadlock. I hope. --sg 1998-07-21 23:34:28 +00:00
Sven Neumann 72577b161b Added session-managment support to the device-status-dialog.
The restore-function is still not working, will have a look at it tomorrow...


--Sven
1998-07-21 00:15:24 +00:00
Sven Neumann abe13ecfe8 Just found out that the fixed_[width|height] should better be always > 0 ...
--Sven
1998-07-20 18:32:19 +00:00
Sven Neumann 5d2753c2ff The new "Fixed Size" option now works with
ellipse_select too. Made the entries use spinbuttons. Minor change
to the selection_size indicator in the status-bar.

Made fopen() use "rb" and "wb" instead if "r" and "w" since the OS/2
port needs it.


--Sven
1998-07-20 18:19:20 +00:00
EDT 1998 Matthew Wilson bdfc4efe14 app/app_procs.c Changed progressbar updaters to work with new API. THIS
Mon Jul 20 11:07:32 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/app_procs.c
	* app/interface.c: Changed progressbar updaters to work with
	new API.  THIS WILL NOT WORK WITH OLDER GTK+.  SOMEONE NEEDS
	TO MAKE AN ENTRY IN gtkfeatures.h SO WE CAN #ifdef THIS.
	(I suppose I should... but what can I say - I'm lazy)
--Matt
1998-07-20 15:07:13 +00:00
jaycox 2f93825eb2 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_select.c
 	app/gimpbrush.c app/gimpbrush.h app/gimpbrushgenerated.c
 	app/gimpbrushlist.c app/gimpbrushlist.h
     removed the index field from GimpBrush.  tweaked the brush renaming
     code

	app/edit_selection.c:
     look ahead in the event queue and process as many arrow keys as we
     can.
 ----------------------------------------------------------------------
1998-07-20 14:05:33 +00:00
jaycox 33cc34dda2 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_select.c app/gimpbrush.c app/gimpbrush.h
 	app/gimpbrushlist.c
      made the scrollbars recalc in brush_select when a brush is
      added/removed.
      GimpBrushLists now force brush names to be unique.
 ----------------------------------------------------------------------
1998-07-19 22:32:35 +00:00
jaycox f0426ac257 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/paint_funcs.c
     speed up to color_pixels (4-7X on a mips r4000)
 ----------------------------------------------------------------------
1998-07-19 17:37:14 +00:00
Adam D. Moss 56a2e76f73 Adapted to use GDKRGB when available - results in improved speed and
* plug-ins/animationplay/animationplay.c: Adapted
	to use GDKRGB when available - results in improved
	speed and stability.

	* app/session.c
	* app/session.h: GIMP compiles again with the latest
	GTK.  Sven will have to look at this fix, but it seems
	to work.
1998-07-19 12:02:29 +00:00
Sven Neumann 0f00346973 Show the selection size in the statusbar.
--Sven
1998-07-18 19:24:57 +00:00
Adam D. Moss 4d50fdb98d app/gimprc.c app/gimprc.h app/ink.c app/paint_core.c Now the
* app/gimprc.c
	* app/gimprc.h
	* app/ink.c
	* app/paint_core.c
	* app/preferences_dialog.c: Now the perfect-mouse-tracking
	normally enabled by pressing MOD1 is a preferences option,
	and MOD1 inverts the affect.

	* app/ink.c: Mildly tweaked the default brush size/range for
	my own twisted sense of esthetics.  Forgive me.
1998-07-18 17:39:23 +00:00
Adam D. Moss 964b6f504d Fixed my idiotic comment syntax Less wussy default/max rate
* app/fileops.c: Fixed my idiotic comment syntax
	* app/airbrush.c: Less wussy default/max rate
1998-07-18 15:49:22 +00:00
Adam D. Moss 9017e83021 Added the ability to make multiple selections from GIMP's
* app/fileops.c: Added the ability to make multiple
	selections from GIMP's load-file-selector.  It's
	adequate but not perfect without the ability to get
	the filesel's idea of its cwd via clean GTK coding.

	* app/convert.c: Minor textual changes.
1998-07-18 15:25:52 +00:00
jaycox b2f1e85cf3 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_edit.c app/brush_edit.h app/brush_select.c
 	app/gimpbrush.c app/gimpbrushgenerated.c
 	app/gimpbrushgenerated.h app/gimpbrushlist.c
      added support for loading generated brushes and updated the
      brush_edit a bit.
 Added Files:
 	data/brushes/round1.vbr
   A sample generated brush.
1998-07-16 11:44:56 +00:00
CDT 1998 Shawn T. Amundson bb7a8b4802 Cursor location in statusbar Fixed resize of window progressbar is smaller
Wed Jul 15 22:06:32 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * Cursor location in statusbar
	* Fixed resize of window
	* progressbar is smaller now
1998-07-16 03:23:14 +00:00
jaycox a528c42a2e ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_edit.c app/brush_select.c
	app/gimpbrushgenerated.c app/gimpbrushgenerated.h
 	app/interface.c
     Added freeze/thaw to gimpbrushgenerated.
     added a close button and a preview to the brush_edit dialog.
 ----------------------------------------------------------------------
1998-07-15 12:15:24 +00:00
Manish Singh 30adcab214 added features header
-Yosh
1998-07-15 02:28:31 +00:00
Manish Singh fdb4b50f58 check for inline by ourselves if it's not defined in glibconfig.h. So
* configure.in: check for inline by ourselves if it's not
defined in glibconfig.h. So inline works if glib is compiled
with a different compiler than gimp. The plug-ins that use
inline #include "config.h" now (blur, destripe, emboss,
gfli, nlfilt, ps, randomize, sinus, and zealouscrop)

* app/main.c: applied gimp-kc-980707-0; fixes command line
parsing

* plug-ins/dbbrowser/dbbrowser_utils.c: searching by name does
- <-> _ translation

* Added filter pack plugin

-Yosh
1998-07-14 06:15:10 +00:00
Adrian Likins c911759b79 argh... did i commit any of the correct files? apparently not
-adrian
1998-07-14 05:35:42 +00:00
EDT 1998 Adrian Likins be6d4825df argh, s/snprintf/g_snprintf
Mon Jul 13 22:00:31 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/rect_select.c : argh, s/snprintf/g_snprintf

-adrian
1998-07-14 03:12:31 +00:00
Adrian Likins 72be94719b erk, another one... applying patches diffed aganst 1.0 is a pain...
erk, another one... applying patches diffed aganst 1.0 is a pain...

-adrian

CVk: ----------------------------------------------------------------------
1998-07-14 00:47:53 +00:00
Adrian Likins b94c62d8e9 oops, minor fixed...dont commit only local changes... ;-|
-adrian
1998-07-14 00:37:15 +00:00
EDT 1998 Adrian Likins a827cd6101 applied gimp-kc-980707-1 from Kevin Cozens <kcozens@interlog.com>
Mon Jul 13 19:07:43 EDT 1998  Adrian Likins <adrian@gimp.org>

        * app/drawable.c app/commands.c app/gimpimage.h
          app/layers_dialog.c: applied gimp-kc-980707-1 from
          Kevin Cozens <kcozens@interlog.com>

        * Dialog boxes for creating a new image or a new layer now include
          as a fill type option.

-adrian
1998-07-14 00:29:08 +00:00
EDT 1998 Adrian Likins 649815a8c9 applied gimp-chap-980709-0 from Chap Lovejoy (chap@cc.gatech.edu)
Mon Jul 13 17:48:21 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/rect_select.[ch]: applied gimp-chap-980709-0
        from  Chap Lovejoy  (chap@cc.gatech.edu)

        From the README:

        Adds fixed size and fixed ratio rectangular selections to the
        gimp.

        Fixed size is enabled by filling in the height and width boxes in
        the rectangular selection tool options box and checking the
        "fixed size" checkbox.

        Fixed ratio is enabled by enabling fixed size (set the height and
        width to the desired ratio values) and holding shift after
        starting the selection (holding shift while starting the selection
        will change the selection operation to add).

-adrian
1998-07-13 23:08:00 +00:00
Sven Neumann 443bf8b2b4 Fixed a few bugs in the new MRU list.
I'm not very happy with this new feature as it doubles functionality and
code with the new docindex. Probably the two should be merged somehow. The
user interface should stay as it is, but the MRU functions should be
provided by the docindex code.


--Sven
1998-07-13 22:31:45 +00:00
jaycox 5d0a6dfee0 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_select.c app/gimpbrushgenerated.c
 	app/gimpbrushlist.c
      fixed brush ref counting.
 ----------------------------------------------------------------------
1998-07-13 10:04:42 +00:00
Adam D. Moss f4b772a90e July 6th's patch from Yasuhiro SHIRASAKI for constraining custom-palette
* app/convert.c: July 6th's patch from Yasuhiro SHIRASAKI for
	constraining custom-palette choices to <=256 colours broke
	the automatic defaulting of 'Web' palette.  Fixed.
1998-07-13 07:12:01 +00:00
scott b61c1b31a3 Hid some of mkj's tile preswapin stuff because it doesn't like the rest of us. 1998-07-13 04:58:27 +00:00
EDT 1998 Michael K. Johnson d2e6afe08c app/tile_swap.c app/tile_swap.h app/tile_manager.c app/tile_manager.h
Sun Jul 12 19:00:15 EDT 1998 Michael K. Johnson <johnsonm@redhat.com>

* app/tile_swap.c
* app/tile_swap.h
* app/tile_manager.c
* app/tile_manager.h
* app/pixel_region.c
* app/pixel_region.h: asynchronous swapin on systems with pthreads.
This version is not at all tuned, and the only interface which makes use
of it now is pixel_region_{g,s}et_{row,col}.  Other functions which know
ahead of time the area that they will be needing can request that it be
asynchronously swapped in via the pixel_region_get_async() function.

Compiles and survives basic testing.
1998-07-12 23:01:33 +00:00
scott a178be4922 Tile preswapper tweaking. --sg 1998-07-12 22:35:01 +00:00
Adam D. Moss 0d268dc3b1 app/gdisplay.h app/interface.c Added the ability to cancel a running
* app/gdisplay.h
        * app/interface.c
        * app/plug_in.c: Added the ability to cancel a running
        plugin when the progress-bar has been sucked into the image
        window.

        * plug-ins/psd/psd.c: Turned debugging on again, since we
        are in a development cycle...
1998-07-12 15:18:07 +00:00
jaycox ed2e3ee66f ----------------------------------------------------------------------
----------------------------------------------------------------------
Modified Files:
	ChangeLog app/Makefile.am app/brush_select.c
	app/gimpbrushlist.c app/gimpbrushlist.h app/gimpsetF.h
	added sorting on the brush_list, fixed some encapulation issues.

	app/paint_funcs.c
	minor speed tweak to border_region
Added Files:
	app/gimpbrushlistF.h app/gimpbrushlistP.h app/gimplist.c
	app/gimplist.h app/gimplistF.h app/gimplistP.h
        Split gimpbrushlist.h into 3 files.  New class "GimpList"
----------------------------------------------------------------------
1998-07-12 11:40:43 +00:00
Manish Singh 999b2781f4 added MRU file list (patch from nuke@bayside.net) Moved document index menu
item into the dialogs submenu

-Yosh
1998-07-12 05:18:17 +00:00
Owen Taylor 1cba88aacc Free last_blob when destroying tool.
Sat Jul 11 23:57:09 1998  Owen Taylor  <otaylor@gtk.org>

	* app/ink.c (tools_free_ink): Free last_blob when destroying
	  tool.

	* app/blob.c: Fix off-by-one error when searhing for gaps.
1998-07-12 03:59:23 +00:00
scott 7ee6ae529c Reduced the aggressiveness of the tile preswapper. 1998-07-12 00:59:37 +00:00
Sven Neumann 28f61dfd5a Disabled setting the size of the dialogs since
lewing pointed out that you can't make them smaller any more :-(
Bah, the whole geometry stuff needs to be reworked in gtk+ !!


--Sven
1998-07-11 22:47:15 +00:00
Sven Neumann 329e2072d8 More session-managment functionality. Opened dialogs are saved and eventually
reopened. Try to use the --restore-session command-line option.


--Sven
1998-07-11 22:23:23 +00:00
scott 32058a457f More tile-related stuff.
--sg
1998-07-11 17:23:03 +00:00
Adam D. Moss ab8133467d Shaved about 25% off the time spent in
* app/paint_funcs.c: Shaved about 25% off the time spent in
        combine_inten_[a_]and_inten_a_pixels() - yay.

        * app/xcf.c: Removed 'M' and '.' debugging spew
        * app/tile_manager.c: Removed #include <stdio.h>
1998-07-11 16:25:52 +00:00
scott df2b147050 Fixed a really dumb bug in tile management in paint_core. --sg 1998-07-11 14:00:55 +00:00
Seth Burgess da9a38ce62 Added System-wide gimprc. Fixed bug with previous user gimprc. 1998-07-11 07:06:39 +00:00
Seth Burgess 8773306e22 Added --gimprc command line option. 1998-07-11 02:00:19 +00:00
Chris Lahey 9718b60e4f Fixed a compile error. 1998-07-10 22:33:31 +00:00
Adam D. Moss e86a3876c6 Fixed copy-on-write path of copy_region which was sometimes crashing with
* app/paint_funcs.c:
	Fixed copy-on-write path of copy_region which was sometimes
	crashing with Scott's new tile scheme.

	* app/tile_manager.c:
	Added some sanity warnings.

	* app/xcf.c:
	Fixed copy-on-write tile loading which was causing crashes
	with Scott's new tile scheme.  Ref balance count seems funny
	still.
1998-07-10 22:26:22 +00:00
Chris Lahey 88618c25bd Document index adds documents even if it's not opened. 1998-07-10 20:35:57 +00:00
jaycox 8fca3091fe Modified Files: ChangeLog app/brush_select.c app/brush_select.h
Modified Files:
 	ChangeLog app/brush_select.c app/brush_select.h
 	app/gimpbrushgenerated.c app/gimpbrushlist.c
 	app/gimpbrushlist.h app/paint_core.c app/paint_core.h
       Signalified the brushes and cleaned up a few things.

 	app/paint_funcs.c: Minor speed tweak
 ----------------------------------------------------------------------
1998-07-10 08:59:55 +00:00
scott 83963c3697 A few tile tweaks (stuff I messed up on the frist commit) --sg 1998-07-10 04:33:21 +00:00
scott 9ccef4a648 Tile overhaul. Mostly minor changes, except for tile*.*, which are
barely recognizable.
1998-07-10 02:43:12 +00:00
EDT 1998 Michael K. Johnson 1f1c9e1684 clone_motion: silently ignore cloning if the clone source hasn't been
Thu Jul  9 22:04:04 EDT 1998  Michael K. Johnson <johnsonm@redhat.com>

       * app/clone.c: clone_motion: silently ignore cloning if the
         clone source hasn't been selected or no longer exists.

Slightly modified last commit to be less noisy.
1998-07-10 02:17:20 +00:00
EDT 1998 Michael K. Johnson 42270eb6dc clone_motion: error message instead of segv if the clone source hasn't
Thu Jul  9 22:04:04 EDT 1998  Michael K. Johnson <johnsonm@redhat.com>

        * app/clone.c: clone_motion: error message instead of segv
          if the clone source hasn't been selected or no longer exists.
1998-07-10 01:59:40 +00:00
jaycox b7d8e6ea91 Modified Files: ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c
Modified Files:
 	ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c
 	app/brush_select.c app/brush_select.h app/clone.c
 	app/colormaps.c app/commands.c app/convolve.c app/devices.c
 	app/eraser.c app/gimage_mask.c app/gimpobject.h app/ink.c
 	app/internal_procs.c app/paint_core.c app/paint_core.h
 	app/paintbrush.c app/pencil.c app/preferences_dialog.c
      Minor modifications to support new brush functionality

 Added Files:
 	app/brush_edit.c app/brush_edit.h app/gimpbrush.c
 	app/gimpbrush.h app/gimpbrushgenerated.c
 	app/gimpbrushgenerated.h app/gimpbrushlist.c
 	app/gimpbrushlist.h
      new files to support vector generated brushes and
      reorganization/objectification of the brush class

 Removed Files:
 	app/brushes.c app/brushes.h
    Obsoleted by gimpbrush.? and gimpbrushlist.?

 ----------------------------------------------------------------------
1998-07-09 05:31:06 +00:00
CDT 1998 Larry Ewing 354d726481 raise the color select when the color area is clicked.
Wed Jul  8 22:36:12 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/color_area.c (color_area_edit): raise the color select when
	the color area is clicked.
1998-07-09 03:35:39 +00:00
CDT 1998 Larry Ewing 1a1393983b fixed a small typo that prevented the composite image from being updated
Wed Jul  8 21:08:03 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/gimpimage.c (gimp_image_raise_layer): fixed a small typo
	that prevented the composite image from being updated properly


CV: ----------------------------------------------------------------------
1998-07-09 02:07:37 +00:00
CDT 1998 Larry Ewing 57abc91fd9 replaced old invalidate calls with an iteration over gimages.
Wed Jul  8 10:47:51 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/preferences_dialog.c: replaced old invalidate calls
	with an iteration over gimages.

	* app/layer.c: added an assert to check for gimage != NULL.
1998-07-08 15:47:38 +00:00
Chris Lahey 99bbc38a1c Just a few quick bug fixes for the document index. 1998-07-08 10:29:09 +00:00
Chris Lahey 3f81a90182 Added a document index. 1998-07-08 09:04:33 +00:00
scott 8884327c43 Oops again, this time let's commit the _right_ version of the file. :)
--sg
1998-07-08 07:15:40 +00:00
scott 10d2b0810b Oops. --sg 1998-07-08 07:05:41 +00:00
scott 217b494f52 Makefile.am blend.c boundary.c by_color_select.c channel.c color_picker.c
* Makefile.am blend.c boundary.c by_color_select.c channel.c
* color_picker.c drawable_cmds.c fuzzy_select.c gimpimage.c
* image_render.c ink.c layer.c main.c paint_core.c paint_funcs.c
* pixel_region.c plug_in.c tile.c tile.h tile_cache.c tile_manager.c
* tile_swap.c transform_core.c undo.c xcf.c: split off tile_pvt.h
from tile.h so changes in the tile implementation don't force a
complete recompile.
--sg
1998-07-08 06:41:58 +00:00
Lauri Alanko 2d028e9070 Unregister pdb procs _before_ destroying pdb. 1998-07-07 22:42:35 +00:00
scott 192256a01b app/gimage_mask.c (gimage_mask_boundary): fixed crash when you delete
the last layer of an image.
--sg
1998-07-07 01:39:31 +00:00
Manish Singh 83956626cc Check for > 256 colors palettes when indexing, since the code doesn't handle it
(From Yasuhiro SHIRASAKI)

-Yosh
1998-07-06 19:06:02 +00:00
scott 3423aeff07 splits pixmaps up into two headers fixed a doublelock deadlock --sg
* pixmaps.h pixmaps2.h tools.c: splits pixmaps up into two headers
* tile.c: fixed a doublelock deadlock
--sg
1998-07-06 18:20:28 +00:00
EDT 1998 Adrian Likins 4ab8de98f7 applied a patch from Adam D. Moss <adam@gimp.org> Sucked the warning about
Sun Jul  5 15:49:02 EDT 1998  Adrian Likins <adrian@gimp.org>

        * applied a patch from Adam D. Moss <adam@gimp.org>
        * app/convert.c:  Sucked the warning about
        quantizing to too many colours into a text
        widget embedded in the dialog, improved intelligence of
        dialog to default 'custom palette' selection to 'Web'
        if available, and in this case not bother to present
        the native WWW-palette radio button. [Adam]

-adrian
1998-07-05 21:01:21 +00:00
Manish Singh edf4ef1e55 made the g_message errors a little smarter instead of popping up a ton of
* app/tile_swap.c: made the g_message errors a little smarter instead
of popping up a ton of dialogs

* app/layer.c
* app/channel.c
* app/gdisplay.c
* app/gimprc.c: some code cleanups

-Yosh
1998-07-05 00:03:06 +00:00
scott 27e90260db Incorporated Adam's copy-on-write patches. Seems to not break anything,
Incorporated Adam's copy-on-write patches.  Seems to not break
anything, but I'm sure they do somewhere. --sg
1998-07-02 23:29:44 +00:00
Manish Singh 5a6bc8de49 Cosmetic fix
-Yosh
1998-07-01 23:37:24 +00:00
Lauri Alanko 6a02cda396 Started gimpset, a generic class for handling collections of
objects. (And to automatically manage their signals, not implemented
yet)

Moved drawable_apply_image to drawable.c

Created a global context object (image_context) to handle the
collection of images that the app manages.
1998-07-01 23:06:49 +00:00
Manish Singh 3237bf3cb9 fix for properly detecting shared lib support on SunPro cc (taken from
* ltconfig: fix for properly detecting shared lib support on SunPro cc
(taken from libtool 1.2.a)

* app/convert.c: PDB wrapper for convert_indexed_palette should return args
associated with it's own proc

-Yosh
1998-07-01 17:20:13 +00:00
Lauri Alanko ef3e162eae start collecting some core stuff to libgimpim.a
Started separating crud out of drawables.

	Isolated the id system of images entirely within pdb. Even the
	window titles and menus use pointers instead of ids. Should at
	least remind people that this is a developers' version. :)
1998-06-30 15:31:32 +00:00
Lauri Alanko 5c5c73f3f5 Misc cleaning up here and there. Note that since the ids were used
to detect if an image still exists, some things may, for now,
access freed images and break. This will be fixed once proper
destroy handlers are added.
1998-06-30 01:14:36 +00:00
scott 2aa993b136 Added a mutex on the swapfile itself to avoid a potential race condition.
Added a mutex on the swapfile itself to avoid a potential race condition.
--sg
1998-06-29 00:33:16 +00:00
Lauri Alanko faeaa7cc23 Removed most of the image id system. They're still used with pdb.
At quick glance, nothing seems to be broken, but if things weird
	out, blame me.

	Now just the same for layers, channels and displays...
1998-06-29 00:24:44 +00:00
Lauri Alanko 3897b71b72 Started doing a GtkObjectifying framework, and started cleaning images
from all sorts of ugly dependencies.
1998-06-28 10:39:58 +00:00
Tim Janik 81d0e43059 return a GtkType value and initialize the GtkTypeInfo structure correctly.
Sun Jun 28 08:32:20 1998  Tim Janik  <timj@gtk.org>

        * app/layer.c (gimp_layer_mask_get_type):
        (gimp_layer_get_type):
        * app/drawable.c (gimp_drawable_get_type):
        * app/channel.c (gimp_channel_get_type):
        return a GtkType value and initialize the GtkTypeInfo structure
        correctly.

        * app/layer.h:
        * app/drawable.h:
        * app/channel.h:
        provide GIMP_TYPE_* and GIMP_IS_*_CLASS() macros.
1998-06-28 08:01:38 +00:00
Manish Singh 83e02a396f minor unused variable warning cleanup
* app/interface.c: minor unused variable warning cleanup

* plug-ins/bumpmap/bumpmap.c: another warning cleanup

* plug-ins/flame/flame.c: time(NULL) instead of time(0)

* plug-ins/gpc/Makefile.am
* plug-ins/megawidget/Makefile.am: install in $libdir instead of
$gimpplugindir since they *are* libs. Some archs try to exec them, and it
barfs

-Yosh
1998-06-28 06:33:38 +00:00
EDT 1998 Adrian Likins 14560bb94c fix from Scott Goehring for a thread deadlock
Sun Jun 28 00:23:52 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/tile.c : fix from Scott Goehring for a thread deadlock

-adrian
1998-06-28 05:34:46 +00:00
Manish Singh 2f7b84ae4d add procedural_db_get_data_size and gimp_get_data_Size functions from Nick Lamb
-Yosh
1998-06-27 00:23:43 +00:00
Tuomas Kuosmanen 1502aa9786 Made the splash-screen min-width a little smaller to fit the eye-candy
splash-screen better  /tigert
1998-06-26 19:31:39 +00:00
Manish Singh edb4e825e0 corrected typo
* app/Makefile.am: corrected typo

* app/bezier_select.c
* app/rect_select.[ch]: merged in bezier extend patch by Raphael
FRANCOIS (fraph@ibm.net)

* app/menus.c: restored "lost" menu items and shortcuts
These really aren't tools.. maybe they should go somewhere else?

* plug-ins/Lighting/lighting_main.c: added gimp_displays_flush

-Yosh
1998-06-26 08:03:50 +00:00
PDT 1998 Adrian Likine 85a8d85e91 Some cosmetic changes to better reflect the development stage of gimp.
Thu Jun 25 17:25:01 PDT 1998 Adrian Likine <adrian@gimp.org>

        * Makefile.am:
        * app/app_procs.c:
        * gimp1_1_splash.ppm: Some cosmetic changes to
        better reflect the development stage of gimp.

hey, yosh said it was okay...  duck...

-adrian
1998-06-26 00:30:12 +00:00
Tuomas Kuosmanen 1ed4e9c8f8 Changed the unit labels a bit so they are consistent on both units-menus
/tigert
1998-06-25 18:43:44 +00:00
Manish Singh 8612d50ec1 compile everything with -D_REENTRANT
* configure.in: compile everything with -D_REENTRANT

* app/menus.c: fix for default accel (wrong X char)

* libgimp/gimpenums.h: make DIVIDE_MODE visible

* plug-ins/gif/gif.c: make it less verbose again

-Yosh
1998-06-24 05:31:18 +00:00
Sven Neumann 77ecc77a8f Moved the (last-tip-shown xx) entry to sessionrc. You might want to
delete that line from your gimprc, but it works fine without doing so.


--Sven
1998-06-23 22:50:16 +00:00
Sven Neumann efd46c7a67 The lc-dialog can now be opened from the toolbox-menu. Did that in
preparation for auto-opening dialogs on start-up.


--Sven
1998-06-23 21:28:22 +00:00
Manish Vachharajani e6a03c8573 Ok, try to at least have eraser work for non-xinput devices 1998-06-23 03:41:59 +00:00
Manish Vachharajani 8403ce3308 Fixed eraser pressure sensitivity for non-tablet devices and added Changelog entry 1998-06-23 03:24:19 +00:00
Sven Neumann 6f2bd5a301 Hopefully fixed a memory hole I introdiced in the preferences-dialog.
--Sven
1998-06-22 22:14:28 +00:00
Sven Neumann aa608690f8 Made a new icon for the new ink tool. IMHO it fits better to the rest of the
icons. Can always be changed if someone creates a better one...


--Sven
1998-06-22 21:38:36 +00:00
Adrian Likins 7ee605514b just a minor fix up for sven.. in color_select.c and plug_in.c
just a minor fix up for sven.. in color_select.c and plug_in.c

-adrian
1998-06-22 20:28:48 +00:00
Sven Neumann d16b3aba04 Rough outline of session-managment. A new config
file 'sessionrc' is written and the position of some windows is
remembered. Still has some problems (offset by wm decorations).
Can be switched off in the preferences.
1998-06-22 17:30:40 +00:00
CDT 1998 Larry Ewing db79dc64df app/bezier_select.c app/commands.[ch] app/devices.c app/disp_callbacks.c
Sun Jun 21 15:16:46 CDT 1998 Larry Ewing <lewing@gimp.org>

	* app/bezier_select.c
	* app/commands.[ch]
	* app/devices.c
	* app/disp_callbacks.c
	* app/interface.c
	* app/menus.c
	* app/pixmaps.h
	* app/tools.[ch]
	* app/undo.c: Lots of changes to the way tools are intialized and
	accessed.  All information about a tool type is now contained in a
	single ToolInfo array.  There are still some small issues to
	adress about tool groups and we need some way of getting menu
	ordering/grouping to work better (plug-ins need this too).  There
	is still much to be done, but this is the next in cleaning up the
	tools.

	* app/posterize.[ch]
	* app/threshold.[ch]
	* app/histogram_tool.[ch]
	* app/hue_saturation.[ch]
	* app/levels.[ch]
	* app/brightness_contrast.[ch]
	* app/by_color_select.[ch]
	* app/color_balance.[ch]
	* app/curves.[ch]: Changed the *_initalize function prototypes from
	gpointer to GDisplay, to allow better type chacking and provide a
	uniform interface for all the dialog tools.
1998-06-21 20:17:21 +00:00
Owen Taylor 2d46c61b87 Set active_tool before updating device status dialog.
Sun Jun 21 15:49:43 1998  Owen Taylor  <otaylor@gtk.org>

	* app/tools.c (tools_select): Set active_tool before
	updating device status dialog.
1998-06-21 19:55:33 +00:00
Manish Vachharajani 343574c669 Make eraser sensitive to pressure from xinput devices 1998-06-21 15:37:48 +00:00
Manish Singh c5e341a351 Do pthread stuff right.
-Yosh
1998-06-20 18:52:48 +00:00
scott 255d684379 include config.h so we can tell if we're doing threads. (GIMP's includes
include config.h so we can tell if we're doing threads.  (GIMP's
includes are f*ck*d.)  --sg
1998-06-20 18:34:38 +00:00
scott 33f5dcc92d Modified tile swapping to preswap dirty tiles, using a thread if threads
Modified tile swapping to preswap dirty tiles, using a thread if
threads are enabled in configure or a gtk_timeout if they're not.  The
code appears stable but could use improvement.  Be careful when
working in here; there are four sets of semaphores and getting the
locking wrong will cause deadlocks or tile corruption.  I'll try to
write up a document describing what's going on in here sometime soon.
--sg
1998-06-20 17:09:32 +00:00
Manish Singh 757044c137 implemented PDB interface for changing the g_message handler
* plug-ins/gif/gif.c: g_printized "no comment" warning

-Yosh
1998-06-19 23:45:54 +00:00
Manish Singh db28c2a313 libgimp versioning stuff
-Yosh
1998-06-19 19:47:34 +00:00
Owen Taylor 77b19d2d99 Shift the range to smaller brushes. (1/8 - 25 pixel radius, instead of
Thu Jun 18 23:11:36 1998  Owen Taylor  <otaylor@gtk.org>

	* app/ink.c: Shift the range to smaller brushes.
	(1/8 - 25 pixel radius, instead of 1-100 pixels)
1998-06-19 03:16:42 +00:00
Manish Singh f075fec795 acconfig.h config.h.in added --with-threads (taken from gtk+ configure.in)
* acconfig.h
* config.h.in
* configure.in: added --with-threads (taken from gtk+ configure.in)

* libgimp/Makefile.am: ugly hack to force libgimpi.a to get rebuilt since
libgimp.la compilations screws up the deps. Fixes relinking on make install.

* configure.in
* plug-ins/Makefile.am: other cleanups

* libgimp/gimp.c
* app/plug_in.c: pass INT32 instead of INT8 for gdisp_id since that's the
correct type

* app/preferences_dialog.c
* plug-ins/script-fu/script-fu-server.c
* plug-ins/tileit/tileit.c: warning fixups
1998-06-19 01:45:03 +00:00
Owen Taylor 95118f347f Removed calls to gtk_container_[dis/en]able_resize()
Thu Jun 18 21:20:12 1998  Owen Taylor  <otaylor@gtk.org>

	* app/interface.c app/tools.c: Removed calls to
	  gtk_container_[dis/en]able_resize()

Thu Jun 18 21:03:33 1998  Owen Taylor  <otaylor@gtk.org>

	* app/interface.c (create_display_shell): Set the resize
	mode on the statusbar to prevent the window from being
	unnecessarily auto-shrunk.

	* plug-ins/gfig/gfig.c (my_gtk_label_set): Removed unused
	function using deprecated gtk_container_need_resize()

Thu Jun 18 16:31:16 1998  Owen Taylor  <otaylor@gtk.org>

	* app/blob.c: Try to prevent overflows when drawing ellipses)
	(fixes the ink => line bug for big sizes)
1998-06-19 01:39:02 +00:00
Sven Neumann 0a1c208a5d Samll changes to the preferences dialog.
Fixed two woarning Adrian introduced yesterday in the file_new_dialog.


--Sven
1998-06-18 16:54:56 +00:00
Adrian Likins 13b564ecaf added some stuff in preparation for making a preference -adrian
* app/gimprc.[ch]: added some stuff in preparation for
        making a preference
-adrian
1998-06-18 06:23:19 +00:00
EDT 1998 Adrian Likins f8c7cbb5ad updated the spinbuttons to use the new api
Wed Jun 17 23:52:13 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/file_new_dialog.c: updated the spinbuttons
        to use the new api

-adrian
1998-06-18 05:04:01 +00:00
Sven Neumann 5ed22def4a The middle mouse button now pops up the menu as well as the third
when clicking on the layer/channel. This should help users that use
a tablet and don't have a right mouse button (like me).


--Sven
1998-06-18 01:04:45 +00:00
Sven Neumann 51b1e61d3f Fixed a bug I introduced with the new mem_size_unit for the tile_cache_size.
Applied a patch from Jay Cox. Reimplements selection_grow, selection_shrink
and selection_border using new algorithms => faster and nicer results.


--Sven
1998-06-17 19:17:00 +00:00
Sven Neumann ef05e30ea4 Default "save_window_positions_on_exit" to FALSE until I know why
gdk_window_get_position() doesn't work properly when the window was
never moved. gdk_window_get_geometry() seems to have the same problem.


--Sven
1998-06-17 10:11:12 +00:00
Sven Neumann 8f8cef6219 Started to implement some sort of session-managment. Right now it only saves
a few window-positions (more to come). I plan to move the saving out of
gimprc into a seperate file and add more stuff like last openend image etc.
Any help is appreciated...


--Sven
1998-06-17 00:18:46 +00:00
CDT 1998 Larry Ewing 8e6f42e4cf added menu entry and changed loop bounds to get the new ink tool
Tue Jun 16 15:06:19 CDT 1998 Larry Ewing <lewing@gimp.org>

	* app/interface.c:
	* app/menus.c: added menu entry and changed loop bounds to get the
	new ink tool functioning properly

	* app/tools.[ch]: added new and free funcs to the ToolInfo struct,
	and began small cleanup of tools
1998-06-16 20:09:19 +00:00
Manish Singh 4c7784d736 initialize progress_gdisp_ID field in plug_in_new so things don't crash
* app/plug_in.c: initialize progress_gdisp_ID field in plug_in_new so
things don't crash

* app/menus.c: use proper keycodes (?) for zoom accelerator defaults

* plug-ins/apply_lens/apply_lens.c: fixed a warning

-Yosh
1998-06-15 19:48:57 +00:00
Sven Neumann fe5a060988 *** empty log message *** 1998-06-15 12:44:51 +00:00
CDT 1998 Shawn T. Amundson 0e28e58749 Table spacings
Sun Jun 15 00:41:05 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/interface.c: Table spacings
1998-06-15 05:43:46 +00:00
CDT 1998 Shawn T. Amundson c943e5e1c8 Fixed progress code to account for when a plugin gets two progress inits
Sun Jun 14 23:41:17 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/plug_in.c: Fixed progress code to account for when
        a plugin gets two progress inits

        * app/interface.c: Fixed table allocation sickness.  Now use
        two tables, and a vbox instead of one table so things don't
        get expanded when they shouldn't.  This (table/table_inner)
        should be merged back to 1.0 tree.  The other resize bug is a
        gtkstatusbar bug.
1998-06-15 04:46:32 +00:00
CDT 1998 Shawn T. Amundson 127e98b5f7 app/gdisplay.c app/gdisplay.h app/interface.c app/plug_in.c app/plug_in.h
Sun Jun 14 21:16:42 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/gdisplay.c
        * app/gdisplay.h
        * app/interface.c
        * app/plug_in.c
        * app/plug_in.h
        * libgimp/gimp.c: added statusbar and progressbar, which
        the plugins now use if they have a gdisp.  Unfortunately
        this introduces a resize bug I wasn't able to fix
        immediately. ;-(
1998-06-15 02:25:27 +00:00
Owen Taylor b0e08ede22 Added new files for handling scan-converted convex polygons. (From gsumi)
Sun Jun 14 18:37:06 1998  Owen Taylor  <otaylor@gtk.org>

	* Makefile.am app/blob.[ch] (blob_bounds): Added new files for
	handling scan-converted convex polygons. (From
	gsumi) (these will be moved out to a plug-in tool directory
	when such a thing exists)

	* app/ink.[ch]: New tool for drawing with a hard-edged
	pressure and tilt-sensitive brush.

	* gimprc.c interface.c paint_core.c pixmaps.h tools.[ch]
	All the modifications for adding a new tool. We need
	to fix this.
1998-06-14 22:42:36 +00:00
Manish Singh 17e6fb3043 install gimp.m4 too
* Makefile.am: install gimp.m4 too

* libgimp/gimpprotocol.[ch]
* libgimp/gimp.c
* app/plug_in.[ch]
* app/procedural_db.c: exported the gdisplay ID to the plugins, so they can
be smart about hooking on to status bars in the appropriate display shell

* libgimp/Makefile.am
* libgimp/gimp.c: make the plugins aware of $gimpdir for gtkrc parsing

-Yosh
1998-06-14 04:33:27 +00:00
EDT 1998 Adrian Likins 4adee211e6 */app/file_new_dialog.c: removed unsightly warnings, replace a 8 with a /
Sat Jun 13 16:52:34 EDT 1998 Adrian Likins <adrian@gimp.org>

        */app/file_new_dialog.c: removed unsightly warnings,
        replace a 8 with a / so it will work

-adrian
1998-06-13 22:05:22 +00:00
EDT 1998 Adrian Likins f41ab6bead */app/file_new_dialog.c: more file new tweaks, now uses spinbuttons. I'm
Sat Jun 13 15:46:55 EDT 1998 Adrian Likins <adrian@gimp.org>

        */app/file_new_dialog.c: more file new tweaks,
        now uses spinbuttons. I'm still not sure this change is
        for the better, let me know.

-adrian
1998-06-13 20:57:23 +00:00
EDT 1998 Adrian Likins e32944e870 *app/file_new_dialog.c app/file_new_dialog.h: app/gloal_edit.c: added
Fri Jun 12 14:17:54 EDT 1998 Adrian Likins <adrian@gimp.org>

        *app/file_new_dialog.c
        app/file_new_dialog.h:
        app/gloal_edit.c:  added behaviour so that the
        new file size will default to the current cut buffer
        if its "fresh"

-adrian
1998-06-12 19:43:55 +00:00
Owen Taylor 9e2b6b31ac Create/resize the pixmap on every expose CONFIGURE event, not just on the
Thu Jun 11 00:34:51 1998  Owen Taylor  <otaylor@gtk.org>

	* app/color_area.c (color_area_events): Create/resize
	the pixmap on every expose CONFIGURE event, not just
	on the first expose event.

Thu Jun 11 00:02:15 1998  Owen Taylor  <otaylor@gtk.org>

	* app/interface.c (create_toolbox): Create the color
	area before showing the window, so that the window gets
	created at the right size. [ This doesn't actually fix
	much, but it is better to do that way ]
1998-06-11 04:36:22 +00:00
Owen Taylor a8f8421292 Stop signal emission so that button doesn't grab the pointer away from the
Wed Jun 10 14:17:44 1998  Owen Taylor  <otaylor@gtk.org>

	* app/disp_callbacks.c (gdisplay_origin_button_press):
	Stop signal emission so that button doesn't grab the
	pointer away from the menu.
1998-06-10 18:15:48 +00:00
Owen Taylor c639350d4e app/brushes.c app/drawable.c app/patterns.c app/procedural_db.c
Tue Jun  9 19:47:19 1998  Owen Taylor  <otaylor@gtk.org>

	* app/brushes.c app/drawable.c app/patterns.c
	  app/procedural_db.c plug-ins/script-fu/script_fu_server.c

	Fixes for warnings generated by changing GCompareFunc
	and GHashFunc to take const arguments.
1998-06-10 17:20:56 +00:00
EDT 1998 Adrian Likins 74913fd591 *app/file_new_dialog.c: more fiddling with file_new. the resoution unit
Tue Jun  9 16:08:20 EDT 1998 Adrian Likins <adrain@gimp.org>

        *app/file_new_dialog.c: more fiddling with file_new.
        the resoution unit optionmenu should work now. Just
        need to get the optionmenus remembering history.

-adrian
1998-06-09 21:21:23 +00:00
Manish Singh c5ac15e0a9 add declaration to get interface.c to compile
* app/disp_callbacks.h: add declaration to get interface.c to compile

* autogen.sh: make sure we know about ACLOCAL_FLAGS

* I went on a compiler warning pogrom

-Yosh
1998-06-09 11:41:13 +00:00
Sven Neumann 4d12855242 Added a popup menu to the upper left corner of the image window.
Updated pagecurl plug-in.


--Sven
1998-06-09 09:20:46 +00:00
Manish Singh 838e68b9eb use @gimpdir@ instead of hardcoding .gimp
* gimptool.in: use @gimpdir@ instead of hardcoding .gimp

* app/palette.c: remove unnecessary gtk_widget_destroy for menus that have
already been removed (from Shuji Narazaki)

-Yosh
1998-06-09 05:05:52 +00:00
Manish Singh 5cc38d44a2 divide paint mode stuff
-Yosh
1998-06-09 04:04:43 +00:00
Owen Taylor 46d0250869 Simple pressure sensitivity.
Mon Jun  8 22:09:07 1998  Owen Taylor  <otaylor@gtk.org>

	* app/airbrush.c: Simple pressure sensitivity.
1998-06-09 02:06:33 +00:00
Manish Singh 51b8deb9e5 unref the itemfactories instead of destroying them (from timj)
* app/menus.c: unref the itemfactories instead of destroying them (from timj)

-Yosh
1998-06-09 00:50:32 +00:00
Manish Singh db8b85fdae added a hex triplet to the color selector. It updates on focus_leave for
* app/color_select.[ch]: added a hex triplet to the color selector. It
updates on focus_leave for now, so I bet there are some interface nits...

* app/fileops.c: add an #include to quell a warning

-Yosh
1998-06-09 00:25:28 +00:00
Manish Singh 474041c8d0 fix stupid <Separator>
-Yosh
1998-06-08 23:18:49 +00:00
EDT 1998 Adrian Likins 3064336f92 *app/commands.c *app/file_new_dialog.[ch] *app/prefereces_dialog.[ch]:
Mon Jun  8 16:39:19 EDT 1998 Adrian Likins <adrian@gimp.org>

        *app/commands.c
        *app/file_new_dialog.[ch]
        *app/prefereces_dialog.[ch]: split up command.c
        into three files, commands.c, file_new_dialog.c,
        and preferences.c

        *app/Makefile.am: change to incorporate the new files

        *TODO: more feature ideas
1998-06-08 21:53:45 +00:00
Chris Lahey cd800c27d2 Added some includes. 1998-06-08 08:38:16 +00:00
Adrian Likins 6b53376383 app/coammnds.c: ooops, committed a sligtly broken version
-adrian
1998-06-08 00:52:23 +00:00
EDT 1998 Adrian Likins 07e825786e *app/commands.c: more fiddling with the file_new dialog. More stuff hooked
Sun Jun  7 19:30:22 EDT 1998 Adrian Likins <adrian@gimp.org>

        *app/commands.c: more fiddling with the file_new dialog.
        More stuff hooked up and working, but still not finished.

        *TODO: filling in more wishlist stuff

-adrian
1998-06-08 00:47:35 +00:00
Tim Janik 11269e1e69 use GtkAccelLabel when creating a menuitems label seperatedly.
Sun Jun  7 11:04:38 1998  Tim Janik  <timj@gtk.org>

        * app/gradient.c (cpopup_create_menu_item_with_label): use GtkAccelLabel
        when creating a menuitems label seperatedly.

        * app/commands.h:
        * app/commands.c:
        (tips_dialog_cmd_callback):
        (filters_repeat_cmd_callback):
        (tools_select_cmd_callback): make use of the callback_action argument.

        * app/main.c (main): removed gtk_accelerator_table_set_mod_mask(),
        since gtk provides decent default values now.

        * app/layers_dialog.c:
        * app/interface.c:
        * app/indexed_palette.c:
        * app/channels_dialog.c:
        * app/buildmenu.c:
        conversions for use of GtkAccelGroup.

        * app/buildmenu.c:
        * app/gradient.c:
        installed accelerators are locked, because these code portions don't
        support accelerator saving.

        * ChangeLog:
        * ChangeLog.pre-1-0: ChangeLog split up.
1998-06-07 13:55:36 +00:00
EDT 1998 Adrian Likins c80f791dcd Reworked the file_new dialog to be a little more useful. Added entries for
Sun Jun  7 00:19:22 EDT 1998  Adrian Likins <adrian@gimp.org>

	* app/commands.c: Reworked the file_new dialog to
	be a little more useful. Added entries for a height
	and width in the unit of your choice, and a resolution.
	Not everythings hooked up yet, but its getting there.

-adrian "glad to be able to break stuff again" Likins
1998-06-07 05:30:29 +00:00
EDT 1998 Matthew Wilson 5454b968e7 Register private tips for all the tools - for use with online help later
Sun Jun  7 00:22:01 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/interface.c: Register private tips for all the tools -
	for use with online help later
--Matt
1998-06-07 04:22:57 +00:00
Manish Singh 9fa974dd15 changed it back, things work now
* app/interface.c: changed it back, things work now

* plug-ins/gfli/gfli.c: fixed gccism

* plug-ins/MapObject/mapobject_main.c: update display when we're done
(from seth)

-Yosh
1998-06-06 21:25:10 +00:00
Manish Singh 3819b86677 Something is really broke here. GdkImages of type GDK_IMAGE_NORMAL crash
on gdk_image_destroy(). I've changed the code in interface.c to workaround
this (so gimp at least starts) but the text tool is still broken, as well
as many of the plugins.

What niggles me is that I can't find anything in glib or gdk that could
explain this (diffing against the stable branch, where everything works).
I dunno, maybe I'm looking over something obvious...

I'd like to know what data this problem started happening... anyone?

-Yosh
1998-06-06 11:04:03 +00:00