1. 31 Dec, 2004 1 commit
    • Michael Natterer's avatar
      Applied modified patch from Ben Campbell which adds drop coordinates to · e0f25134
      Michael Natterer authored
      2004-12-31  Michael Natterer  <mitch@gimp.org>
      
      	Applied modified patch from Ben Campbell which adds drop
      	coordinates to the color drop callback and uses it to insert
      	colors in the palette editor. Extended the patch to add drop
      	coordinates to all drop callbacks.
      
      	* app/core/gimppalette.[ch]: added gimp_palette_insert_entry().
      
      	* app/display/gimpdisplayshell-dnd.[ch]: added drop coordinates
      	to all drop callbacks.
      
      	* app/dialogs/palette-import-dialog.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpfgbgeditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptooloptionseditor.c
      	* libgimpwidgets/gimpcolorselect.c: changed accordingly. The passed
      	drop coordiantes are so far unused.
      
      	* app/widgets/gimppaletteeditor.c: use the drop coordinates to
      	insert the new color into the palette at the right place instead
      	of always appending. Fixes bug #150030.
      e0f25134
  2. 06 Oct, 2004 1 commit
    • Michael Natterer's avatar
      remember for which GdkDragContext the icon_widget was made. · da1a2de8
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_data_drag_begin): remember for
      	which GdkDragContext the icon_widget was made.
      
      	(gimp_dnd_data_drag_end): destroy the icon_widget only if it was
      	created for this GdkDragContext. Fixes broken DND icon_widgets
      	when dragging the same source again while the old icon_widget is
      	still floating back from an unsuccessful drop. Fixes bug #139337.
      da1a2de8
  3. 16 Sep, 2004 1 commit
  4. 24 Aug, 2004 1 commit
    • David Odin's avatar
      app/widgets/gimppreview.c renamed these two files to... · cddf61a3
      David Odin authored
      * app/widgets/gimppreview.c
      * app/widgets/gimppreview.h: renamed these two files to...
      
      * app/widgets/gimpview.c
      * app/widgets/gimpview.h: ... these files.
      
      Also renamed GimpPreview to GimpView.
      This is the first step of the great Preview->View renaming process.
      
      * app/actions/palettes-commands.c
      
      * app/display/gimpdisplayshell-layer-select.c
      * app/display/gimpnavigationview.c
      
      * app/gui/palette-import-dialog.c
      
      * app/tools/gimppaintoptions-gui.c
      
      * app/widgets/Makefile.am
      * app/widgets/gimpaction.c
      * app/widgets/gimpactiongroup.c
      * app/widgets/gimpbrusheditor.c
      * app/widgets/gimpbufferview.c
      * app/widgets/gimpcontainerbox.c
      * app/widgets/gimpcontainergridview.c
      * app/widgets/gimpcontainergridview.h
      * app/widgets/gimpdevicestatus.c
      * app/widgets/gimpdnd.c
      * app/widgets/gimpdockbook.c
      * app/widgets/gimpfiledialog.c
      * app/widgets/gimpgradienteditor.c
      * app/widgets/gimpnavigationpreview.c
      * app/widgets/gimpnavigationpreview.h
      * app/widgets/gimppaletteeditor.c
      * app/widgets/gimppreview-popup.c
      * app/widgets/gimppropwidgets.c
      * app/widgets/gimpselectioneditor.c
      * app/widgets/gimpthumbbox.c
      * app/widgets/gimptoolbox-image-area.c
      * app/widgets/gimptoolbox-indicator-area.c
      * app/widgets/gimptooloptionseditor.c
      * app/widgets/gimpviewabledialog.c
      * app/widgets/widgets-types.h: changed accordingly.
      cddf61a3
  5. 30 Jun, 2004 2 commits
    • Michael Natterer's avatar
      app/widgets/gimpdnd.[ch] app/widgets/gimpselectiondata.[ch] changed · cc6aa186
      Michael Natterer authored
      2004-06-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpselectiondata.[ch]
      	* app/widgets/gimpcontainertreeview.[ch]: changed "files" and "uris"
      	to "uri_list" in all function names, parameters and typedefs.
      
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/display/gimpdisplayshell-dnd.[ch]
      	* app/display/gimpdisplayshell.c: changed accordingly.
      cc6aa186
    • Sven Neumann's avatar
      renamed the SVG related functions so that they deal with an anonymous data · 114f747f
      Sven Neumann authored
      2004-06-30  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpselectiondata.[ch]: renamed the SVG related
      	functions so that they deal with an anonymous data stream that
      	could as well be a PNG image.
      
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpcontainertreeview-dnd.c: changed accordingly.
      
      	* app/display/gimpdisplayshell-dnd.[ch]
      	* app/vectors/gimpvectors-import.[ch]
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpvectorstreeview.c: use gsize for the length of
      	the buffer.
      
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/widgets-enums.[ch]: added GIMP_DND_TYPE_PNG which isn't
      	used yet.
      114f747f
  6. 29 Jun, 2004 2 commits
    • Michael Natterer's avatar
      changed return value from gchar* to const gchar*. Renamed parameters to be · 425fd699
      Michael Natterer authored
      2004-06-30  Michael Natterer  <mitch@gimp.org>
      
      	* widgets/gimpselectiondata.[ch] (gimp_selection_data_get_svg):
      	changed return value from gchar* to const gchar*. Renamed
      	parameters to be consistent with other SVG functions.
      
      	* widgets/gimpcontainertreeview-dnd.c
      	* widgets/gimpdnd.c: changed accordingly.
      425fd699
    • Michael Natterer's avatar
      use gtk_target_list_add() instead of gtk_target_list_add_table() because · 3f5e10c1
      Michael Natterer authored
      2004-06-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.c: use gtk_target_list_add() instead of
      	gtk_target_list_add_table() because the latter prepends the
      	targets to the internal list which screws the order (== priority)
      	of DND targets.
      
      	* app/widgets/gimpselectiondata.c: added some more checks for
      	failed drops (selection_data->length < 0).
      3f5e10c1
  7. 28 Jun, 2004 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am new files containing the code which · 667de3c9
      Michael Natterer authored
      2004-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpselectiondata.[ch]: new files containing the
      	code which encodes/decodes all sorts of stuff to/from its
      	GtkSelectionData representation. Used to live in gimpdnd.c
      
      	* app/widgets/gimpdnd.c: use the new functions (unclutters the
      	file quite a bit), converted tabs to spaces.
      667de3c9
  8. 02 Jun, 2004 2 commits
    • Michael Natterer's avatar
      removed utility funtion gimp_dnd_open_files(). · 61116ebb
      Michael Natterer authored
      2004-06-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.[ch]: removed utility funtion
      	gimp_dnd_open_files().
      
      	* app/widgets/gimptoolbox-dnd.c: added gimp_toolbox_drop_files()
      	instead.
      
      	* app/display/gimpdisplayshell-dnd.c (gimp_display_shell_drop_files):
      	show the error message if opening a dropped file fails.
      61116ebb
    • Michael Natterer's avatar
      removed enum GimpDndType... · b6beebcc
      Michael Natterer authored
      2004-06-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.h: removed enum GimpDndType...
      
      	* app/widgets/widgets-enums.h: ...and added it here.
      
      	* app/widgets/gimpdnd.c: added more g_return_if_fail(). Allow
      	all gimp_dnd_foo_dest_add() functions to be called without
      	callback (just add the target if callback is NULL).
      
      	(gimp_dnd_open_files): removed the checks for validity of the
      	passed filenames/uris...
      
      	(gimp_dnd_set_file_data): ...and added it here so all callbacks
      	get an already sanitized list of strings.
      b6beebcc
  9. 28 May, 2004 1 commit
  10. 15 Apr, 2004 1 commit
    • Michael Natterer's avatar
      use the new dynamic GtkTargetList based API for changing the widget's drag · 957190d7
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.c (gimp_dnd_data_source_add)
      	(gimp_dnd_data_source_remove): use the new dynamic GtkTargetList
      	based API for changing the widget's drag source types.
      
      	* app/widgets/gimpdocumentview.c (gimp_document_view_new): simply
      	call gimp_dnd_file_source_add() instead of duplicating the whole
      	GtkTargetEntry array insanity just for adding one source type.
      957190d7
  11. 14 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Get rid of the "current_context" which was in fact just a bunch of global · 18d9161e
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Get rid of the "current_context" which was in fact just a bunch of
      	global variables. Instead, pass the needed context all the way
      	from the GUI and the PDB to the core. This is a prerequisite for
      	macro recording and generally helps separating the various
      	subsystems from each other. Work in progress...
      
      	* app/core/gimp.[ch]: removed member "current_context" and
      	gimp_[get|set]_current_context().
      
      	* app/core/gimp-edit.[ch]
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	* app/core/gimpdrawable-offset.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimpselection.[ch]
      	* app/core/gimptemplate.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/text/gimptext-compat.[ch]
      	* app/text/gimptextlayer-transform.[ch]
      	* app/gui/brush-select.[ch]
      	* app/gui/font-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: added tons of "GimpContext *context"
      	parameters and use the passed context instead of
      	gimp_get_current_context().
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or
      	GIMP_CONTEXT(tool_options) or whatever is the right context
      	to the changed core functions.
      
      	* tools/pdbgen/app.pl: pass "GimpContext *context" to all
      	generated PDB invokers.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: pass the new context
      	parameter to the changed core functions.
      
      	* app/pdb/*_cmds.c: regenerated.
      18d9161e
  12. 10 Mar, 2004 1 commit
  13. 21 Dec, 2003 2 commits
  14. 20 Dec, 2003 2 commits
  15. 22 Nov, 2003 1 commit
  16. 20 Nov, 2003 2 commits
    • Michael Natterer's avatar
      changed drag source stuff to allow multiple data types. Changed DND source · c5865e49
      Michael Natterer authored
      2003-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.[ch]: changed drag source stuff to allow
      	multiple data types. Changed DND source API to speak in terms of
      	add()/remove() instead of set()/unset(). Added GimpDndDragFileFunc
      	typedef and gimp_dnd_file_source_add().
      
      	Unfortunately GTK+'s DND API lacks symmetry here (no GtkTargetList
      	based API for drag sources), so we cannot really change drag
      	sources on-the-fly and need to set GtkTargetEntry arrays manually.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimptoolbox-color-area.c: changed accordingly.
      
      	* app/widgets/gimpdocumentview.c: ditto. Additionally offer
      	"text/uri-list" so it's possible to drag images from the document
      	history to the file manager or browser.
      c5865e49
    • Michael Natterer's avatar
      cleanup before doing real changes. · de98d7af
      Michael Natterer authored
      2003-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.c: cleanup before doing real changes.
      de98d7af
  17. 19 Nov, 2003 2 commits
  18. 03 Nov, 2003 1 commit
    • Michael Natterer's avatar
      added static "the_dnd_gimp" variable and don't use the global "the_gimp" · 481d42d5
      Michael Natterer authored
      2003-11-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.[ch]: added static "the_dnd_gimp" variable
      	and don't use the global "the_gimp" any more.
      	Added gimp_dnd_init() to let the DND system know about the GUI's
      	Gimp instance.
      
      	* app/gui/gui.c (gui_init): call gimp_dnd_init().
      
      	* app/app_procs.h: changed the #warning about including
      	"app_procs.h" to an #error, like the other headers in app/ do.
      481d42d5
  19. 17 Oct, 2003 2 commits
  20. 16 Oct, 2003 2 commits
  21. 06 Oct, 2003 1 commit
  22. 05 Apr, 2003 1 commit
    • Michael Natterer's avatar
      reset object properties only if they are GIMP_PARAM_SERIALIZABLE. · e7fbd810
      Michael Natterer authored
      2003-04-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
      	reset object properties only if they are GIMP_PARAM_SERIALIZABLE.
      
      	* app/core/gimpcontext.[ch]: added a GimpTemplate property.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added a template dialog.
      
      	* app/gui/dialogs-menu.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: and menu entries to open it.
      
      	* app/widgets/gimpdnd.[ch]: added DND for GimpTemplates.
      e7fbd810
  23. 26 Mar, 2003 1 commit
  24. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
  25. 05 Mar, 2003 1 commit
    • Michael Natterer's avatar
      added GError reporting, removed g_message() stuff. · d404068c
      Michael Natterer authored
      2003-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-save.[ch]: added GError reporting, removed
      	g_message() stuff.
      
      	* app/gui/file-commands.c
      	* app/gui/file-save-dialog.c: g_message() here if file_save_*()
      	returns an error.
      
      	* app/file/file-open.c: use the G_FILE_ERROR quark and the
      	GFileError enum for reporting errors. Removed g_message() if the
      	passed in GError** pointer is NULL (passing NULL as error return
      	location should never mean "show the error message yourself").
      
      	* app/app_procs.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c: g_message() here if file_open_*()
      	returns an error.
      d404068c
  26. 20 Feb, 2003 1 commit
    • Michael Natterer's avatar
      Reimplemented the undo history: · c8b4394d
      Michael Natterer authored
      2003-02-20  Michael Natterer  <mitch@gimp.org>
      
      	Reimplemented the undo history:
      
      	* app/Makefile.am
      	* app/undo_history.[ch]: removed.
      
      	Changes/cleanups to the undo system to enable/simplify the new
      	undo history implementation:
      
      	* app/core/core-types.h: removed enum undo_event_t. Removed the
      	GimpImage parameter from GimpUndoPopFunc and GimpUndoFreeFunc
      	because GimpUndo has a GimpImage pointer now (see below).
      
      	* app/core/core-enums.[ch]: added enum GimpUndoEvent. Added an
      	enum value for REDO_EXPIRED.
      
      	* app/core/gimpimage.[ch]: added a GimpUndo pointer to the
      	"undo_event" signal which needs to be passed for all events except
      	UNDO_FREE.
      
      	* app/display/gimpdisplayshell-handlers.c: changed accordingly.
      
      	* app/core/gimpundo.[ch]: added a GimpImage pointer to the
      	GimpUndo struct. Removed GimpImage parameters all over the
      	place. Added preview stuff. The preview creation needs to be
      	triggered explicitly using gimp_undo_create_preview() because the
      	GimpUndo can't know when it's possible to create the preview.
      
      	* app/core/gimpimage-undo-push.c
      	* app/paint/gimppaintcore-undo.c
      	* app/tools/gimptransformtool-undo.c: changed accordingly, cleanup.
      
      	* app/core/gimpundostack.[ch]: ditto. Return the freed undo from
      	gimp_undo_stack_free_bottom(). Removed unused container signal
      	handlers.
      
      	* app/core/gimpimage-undo.c: free the redo stack the same way old
      	undos are freed (from bottom up). Emit "undo_event" with event ==
      	REDO_EXPIRED for each removed redo.
      
      	* app/core/gimpmarshal.list: added new marshallers.
      
      	New undo history implementation:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpundoeditor.[ch]
      	* app/widgets/gimpundopreview.[ch]: new widgets for the undo
      	step previews and the history itself.
      
      	* app/widgets/gimppreview-utils.c: added GimpUndoPreview to the
      	list of possible preview types.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs-menu.c
      	* app/gui/dialogs.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: removed the old and added the new undo
      	history to the dialog factory and the various dialog menus.
      
      	* app/widgets/gimpdnd.[ch]: don't warn if a GType has no
      	corresponding DND type. Instead, return FALSE from the function
      	that failed.
      
      	* app/widgets/gimppreview.c: check the return value of gimpdnd
      	functions.  Not only add drag sources but also remove them when no
      	longer needed.
      
      	* app/widgets/gimpselectioneditor.h: removed unneeded inclusion of
      	"gui/gui-types.h".
      c8b4394d
  27. 18 Feb, 2003 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/pdb/procedural_db.pdb use regfree() to free the regex pattern · a72799c5
      Sven Neumann authored
      2003-02-18  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* app/pdb/procedural_db_cmds.c: use regfree() to free the regex
      	pattern buffer.
      
      	* app/widgets/gimpdnd.c (gimp_dnd_data_dest_add): unref the
      	GtkTargetList after adding it to the widget.
      
      	* app/core/gimpimage.c (gimp_image_get_new_preview): initialize
      	all fields of the mask pixel_region.
      
      	* app/core/gimpviewable.c (gimp_viewable_get_new_preview_pixbuf):
      	pass a destroy notifier to gdk_pixbuf_new_from_data() so that the
      	pixel data is freed with the pixbuf.
      
      	* libgimptool/gimptool.c (gimp_tool_class_init): register a
      	finalizer that unrefs the GimpToolControl object.
      
      	* app/widgets/gimpenummenu.c (gimp_enum_stock_box_new_with_range):
      	free the generated stock_id.
      a72799c5
  28. 05 Jan, 2003 1 commit
  29. 29 Nov, 2002 1 commit
  30. 25 Nov, 2002 1 commit
  31. 02 Sep, 2002 1 commit
    • Michael Natterer's avatar
      DND cleanup part 1: · c5d4b702
      Michael Natterer authored
      2002-09-02  Michael Natterer  <mitch@gimp.org>
      
      	DND cleanup part 1:
      
      	* app/widgets/gimpdnd.[ch]: changed all gimp_dnd_*_dest_set() and
      	_unset() functions to _dest_add() and _dest_remove(). Switch from
      	using static arrays of GtkTargetEntries to dynamic GtkTargetLists.
      	The _add() and _remove() functions configure the drag dest
      	automatically if not already done, so there is no need to call
      	gtk_drag_dest_set() on the widget any more. Drag source cleanup
      	will follow...
      
      	Renamed silly function names gimp_gtk_* to gimp_dnd_*
      
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpblendtool.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimplistitem.c
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox-color-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptoolbox.c
      	* app/gui/about-dialog.c
      	* app/gui/color-select.c
      	* app/gui/device-status-dialog.c
      	* app/gui/tool-options-dialog.c: changed accordingly. Removed
      	all calls to gtk_drag_dest_set() and their GtkTargetEntry tables.
      
      	* app/widgets/gimpchannellistitem.c: enabled some commented out
      	dnd code (which will not work since dnd needs more love...)
      
      	* app/widgets/gimpitemlistview.[ch]: added a third
      	"gboolean interactive" parameter to GimpItemNewFunc.
      
      	* app/gui/channels-commands.[ch]
      	* app/gui/layers-commands.[ch]
      	* app/gui/vectors-commands.[ch]: if the new_item_func is called
      	with "interactive == FALSE", don't pop up a dialog but silently
      	create a new item of the image's size.
      
      	* app/widgets/gimpdrawablelistview.c: use the new feature to allow
      	color and pattern drops to the "New" button, which creates a new
      	layer/channel filled with the color/pattern.
      	(special feature for drc ;-)
      
      	* app/widgets/gimppaletteeditor.c: fixed event handling so we see
      	the context menu again. Also, don't redraw on "expose", since
      	GtkPreview does that for us.
      c5d4b702