gimp/app/gui
Michael Natterer e2daae315b an evil temp_hack which lets GimpContext managing the active display
2001-08-14  Michael Natterer  <mitch@gimp.org>

	* app/gdisplay.h: an evil temp_hack which lets GimpContext managing
	the active display withoug including "gdisplay.h". Will go away as
	soon ad context properties are registered dynamically.

	* app/module_db.c: cleaned up the object code in preparation of
	moving it to core/.

	* app/path.c: connect to GimpImage's

	* app/core/gimpobject.[ch]: derive it from GObject, not from
	GtkObject any more (yeah :-)

	* app/core/*.c: #include <glib-object.h> instead of <gtk/gtk.h>,
	removed some remaining GtkObject-isms.

	(left in a few #include <gtk/gtk.h> where bigger changes are needed
	to get rid of the UI dependency).

	* app/core/core-types.h: #include <gdk-pixbuf/gdk-pixbuf.h> here
	temporarily.

	* app/core/gimp.c (gimp_create_display): unref the image after
	creating it's first display.

	* app/core/gimpbrush.[ch]: disabled the parts of the code which
	depend on GimpPaintTool.

	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrushpipe.c: changed accordingly.

	* app/core/gimpcontext.[ch]: evil hack (see above) to manage the
	active display without including "gdisplay.h"

	* app/core/gimpimage-mask.[ch]: pass a context to
	gimage_mask_stroke() and get the current tool's PDB string from
	there.

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

	* app/core/gimpimage.c: use gimp_image_update() instead of
	gdisplays_update_full().

	* app/gui/color-area.c
	* app/gui/colormap-dialog.c
	* app/gui/dialogs-constructors.c
	* app/gui/edit-commands.c
	* app/gui/image-commands.c
	* app/gui/toolbox.c: changed accordingly (don't use Gtk methods on
	GObjects).

	* app/gui/menus.c: fix some const warnings by explicit casting.

	* app/tools/*.[ch]: ported all tools to GObject, some minor
	cleanup while i was on it.

	* app/widgets/gimpdialogfactory.[ch]: ported to GObject.

	* app/widgets/gimplayerlistview.h: added FOO_GET_CLASS() macro.

	* tools/pdbgen/app.pl: added a "widgets_eek" hack like "tools_eek"
	which inserts #include "widgets/widgets-types.h" before ordinary
	includes.

	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/edit.pdb
	* app/pdb/brush_select_cmds.c
	* app/pdb/edit_cmds.c: changed according to the stuff above.
2001-08-14 14:53:55 +00:00
..
.cvsignore configure.in app/Makefile.am new directory which will contain all gui code 2001-04-14 15:21:45 +00:00
about-dialog.c g_strdup (g_get_temp_dir ()), may fix an unseen crash. 2001-07-31 23:28:56 +00:00
about-dialog.h app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] 2001-04-18 16:39:34 +00:00
authors.h app/Makefile.am removed. 2001-06-05 00:22:25 +00:00
brush-editor.c removed g_signal_handlers_disconnect_by_data again. As Owen pointed out, 2001-07-31 11:33:13 +00:00
brush-editor.h don't use the global "the_gimp" variable. 2001-07-15 14:32:44 +00:00
brush-select.c removed g_signal_handlers_disconnect_by_data again. As Owen pointed out, 2001-07-31 11:33:13 +00:00
brush-select.h removed GimpFillType. 2001-06-29 19:25:03 +00:00
brushes-commands.c register the button icons with GTK_ICON_SIZE_BUTTON, but set them as 2001-08-04 20:38:54 +00:00
brushes-commands.h the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
channels-commands.c split "destroy" up in "dispose" and "finalize". 2001-08-11 21:10:44 +00:00
channels-commands.h added virtual method context_item() which works like select_item() and 2001-04-29 15:23:01 +00:00
color-area.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
color-area.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
color-notebook.c removed GIMP_ZOOM_TYPE, 2001-08-09 16:39:08 +00:00
color-notebook.h Made a GimpContainer out of the palette list: 2001-02-11 16:14:25 +00:00
color-select.c app/base/Makefile.am app/core/Makefile.am app/gui/Makefile.am added 2001-05-30 00:20:48 +00:00
color-select.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
colormap-dialog.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
colormap-dialog.h don't use the global "the_gimp" variable. 2001-07-15 14:32:44 +00:00
commands.c set style properties for dockables. 2001-08-03 19:43:19 +00:00
commands.h set style properties for dockables. 2001-08-03 19:43:19 +00:00
convert-dialog.c set the width of the scrollbar slider to the same value as our default 2001-07-30 17:17:36 +00:00
convert-dialog.h app/Makefile.am removed. new files: the convert functionality without GUI 2001-04-18 17:57:10 +00:00
data-commands.c the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
data-commands.h the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
device-status-dialog.c fsck^^^ -- lovely autofoo wants "changequote([,])dnl" 2001-08-11 19:53:35 +00:00
dialogs-commands.c Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) 2001-07-24 21:27:11 +00:00
dialogs-commands.h don't use the global "the_gimp" variable. 2001-07-15 14:32:44 +00:00
dialogs-constructors.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
dialogs-constructors.h app/core/Makefile.am new file implementing the docindex.* replacement. 2001-08-11 07:47:35 +00:00
dialogs.c Switched to GObject reference counting: 2001-08-12 15:39:23 +00:00
dialogs.h app/Makefile.am removed. 2001-07-07 12:17:23 +00:00
edit-commands.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
edit-commands.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
error-console-dialog.c removed GIMP_ZOOM_TYPE, 2001-08-09 16:39:08 +00:00
error-console-dialog.h cleanup. 2001-08-07 00:06:06 +00:00
file-commands.c split "destroy" up in "dispose" and "finalize". 2001-08-11 21:10:44 +00:00
file-commands.h added a (commented out) function to open files (to get rid of including 2001-07-09 17:58:56 +00:00
file-dialog-utils.c Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) 2001-07-24 21:27:11 +00:00
file-dialog-utils.h added RunModeType. removed RunModeType. don't scan app/plug_in.h for 2001-04-28 15:11:29 +00:00
file-new-dialog.c build pixmaps/ before libgimpwidgets/. 2001-08-04 14:10:58 +00:00
file-new-dialog.h app/Makefile.am removed... 2001-07-05 15:34:26 +00:00
file-open-dialog.c app/core/Makefile.am new file implementing the docindex.* replacement. 2001-08-11 07:47:35 +00:00
file-open-dialog.h Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) 2001-07-24 21:27:11 +00:00
file-save-dialog.c g_strdup (g_get_temp_dir ()), may fix an unseen crash. 2001-07-31 23:28:56 +00:00
file-save-dialog.h added a (commented out) function to open files (to get rid of including 2001-07-09 17:58:56 +00:00
gradient-editor.c removed GIMP_ZOOM_TYPE, 2001-08-09 16:39:08 +00:00
gradient-editor.h don't use the global "the_gimp" variable. 2001-07-15 14:32:44 +00:00
gradient-select.c removed g_signal_handlers_disconnect_by_data again. As Owen pointed out, 2001-07-31 11:33:13 +00:00
gradient-select.h app/session.[ch] removed the old dialog session management code... 2001-04-17 16:00:27 +00:00
gradients-commands.c register the button icons with GTK_ICON_SIZE_BUTTON, but set them as 2001-08-04 20:38:54 +00:00
gradients-commands.h the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
gui.c split "destroy" up in "dispose" and "finalize". 2001-08-11 21:10:44 +00:00
gui.h build pixmaps/ before libgimpwidgets/. 2001-08-04 14:10:58 +00:00
help-commands.c set style properties for dockables. 2001-08-03 19:43:19 +00:00
help-commands.h set style properties for dockables. 2001-08-03 19:43:19 +00:00
image-commands.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
image-commands.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
indicator-area.c removed GIMP_ZOOM_TYPE, 2001-08-09 16:39:08 +00:00
indicator-area.h added cmd_callbacks for the toolbox and the preferences dialog. 2001-02-24 02:42:09 +00:00
info-dialog.c g_strdup (g_get_temp_dir ()), may fix an unseen crash. 2001-07-31 23:28:56 +00:00
info-dialog.h Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) 2001-07-24 21:27:11 +00:00
info-window.c set style properties for dockables. 2001-08-03 19:43:19 +00:00
info-window.h app/disp_callbacks.c app/gdisplay.c applied a patch from Ralf Engels 2001-06-14 16:23:40 +00:00
input-dialog.c fsck^^^ -- lovely autofoo wants "changequote([,])dnl" 2001-08-11 19:53:35 +00:00
layer-select.c Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) 2001-07-24 21:27:11 +00:00
layer-select.h app/apptypes.h app/channel_ops.c app/commands.c app/convert.[ch] 2001-03-08 02:01:52 +00:00
layers-commands.c split "destroy" up in "dispose" and "finalize". 2001-08-11 21:10:44 +00:00
layers-commands.h added virtual method context_item() which works like select_item() and 2001-04-29 15:23:01 +00:00
Makefile.am cleanup. 2001-08-07 00:06:06 +00:00
makefile.msc updated for GTK2 build 2001-07-28 19:40:07 +00:00
menus.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
menus.h app/devices.c app/disp_callbacks.c app/docindex.[ch] app/file-save.c 2001-07-29 14:09:50 +00:00
module-browser.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
module-browser.h app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h 2000-12-29 15:22:01 +00:00
offset-dialog.c set the width of the scrollbar slider to the same value as our default 2001-07-30 17:17:36 +00:00
offset-dialog.h app/Makefile.am removed 2001-04-18 19:14:20 +00:00
palette-editor.c fix compiler warning. 2001-08-10 14:41:39 +00:00
palette-editor.h don't use the global "the_gimp" variable. 2001-07-15 14:32:44 +00:00
palette-import-dialog.c set the width of the scrollbar slider to the same value as our default 2001-07-30 17:17:36 +00:00
palette-import-dialog.h app/Makefile.am moved the palette_import dialog to it's own file. 2001-01-21 21:29:31 +00:00
palette-select.c app/Makefile.am removed. 2001-07-20 10:07:51 +00:00
palette-select.h added a (commented out) function to open files (to get rid of including 2001-07-09 17:58:56 +00:00
palettes-commands.c register the button icons with GTK_ICON_SIZE_BUTTON, but set them as 2001-08-04 20:38:54 +00:00
palettes-commands.h the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
paths-dialog.c register the button icons with GTK_ICON_SIZE_BUTTON, but set them as 2001-08-04 20:38:54 +00:00
paths-dialog.h app/Makefile.am app/lc_dialogP.h removed stuff that will go away anyway 2001-04-21 02:11:12 +00:00
pattern-select.c removed g_signal_handlers_disconnect_by_data again. As Owen pointed out, 2001-07-31 11:33:13 +00:00
pattern-select.h removed some forgotten tools types. 2001-05-13 11:35:20 +00:00
patterns-commands.c register the button icons with GTK_ICON_SIZE_BUTTON, but set them as 2001-08-04 20:38:54 +00:00
patterns-commands.h the active_tool may change in the middle of gdisplay_canvas_events(), so 2001-07-08 21:44:52 +00:00
plug-in-commands.c app/devices.c app/disp_callbacks.c app/docindex.[ch] app/file-save.c 2001-07-29 14:09:50 +00:00
plug-in-menus.c app/devices.c app/disp_callbacks.c app/docindex.[ch] app/file-save.c 2001-07-29 14:09:50 +00:00
preferences-dialog.c configure.in themes/Default/images/Makefile.am some new Makefiles to make 2001-08-05 20:34:10 +00:00
preferences-dialog.h app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] 2001-04-18 16:39:34 +00:00
qmask-commands.c eek, my last change changed the width of all GtkRange subclasses, not only 2001-07-31 16:55:59 +00:00
resize-dialog.c split "destroy" up in "dispose" and "finalize". 2001-08-11 21:10:44 +00:00
resize-dialog.h Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) 2001-07-24 21:27:11 +00:00
resolution-calibrate-dialog.c app/docindex.c app/gdisplay_color_ui.c app/gimpprogress.c app/nav_window.c 2001-08-01 09:33:12 +00:00
resolution-calibrate-dialog.h app/docindex.c app/gdisplay_color_ui.c app/gimpprogress.c app/nav_window.c 2001-08-01 09:33:12 +00:00
select-commands.c split "destroy" up in "dispose" and "finalize". 2001-08-11 21:10:44 +00:00
select-commands.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
session.c removed the gimp_busy boolean, check whether user_installation is needed 2001-07-10 19:16:16 +00:00
session.h app/session.[ch] removed the old dialog session management code... 2001-04-17 16:00:27 +00:00
splash.c fixed typo. 2001-07-25 13:21:57 +00:00
splash.h new files: 2001-04-15 20:12:16 +00:00
test-commands.c don't use the global "the_gimp" variable. 2001-07-15 14:32:44 +00:00
test-commands.h don't use the global "the_gimp" variable. 2001-07-15 14:32:44 +00:00
tips-dialog.c set style properties for dockables. 2001-08-03 19:43:19 +00:00
tips-dialog.h app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] 2001-04-18 16:39:34 +00:00
tool-options-dialog.c build pixmaps/ before libgimpwidgets/. 2001-08-04 14:10:58 +00:00
tool-options-dialog.h some s/0/FALSE/ 2001-06-04 23:11:31 +00:00
toolbox.c an evil temp_hack which lets GimpContext managing the active display 2001-08-14 14:53:55 +00:00
toolbox.h removed more GUI initialisation code. 2001-05-01 13:16:59 +00:00
tools-commands.c fsck^^^ -- lovely autofoo wants "changequote([,])dnl" 2001-08-11 19:53:35 +00:00
tools-commands.h removed GimpFillType. 2001-06-29 19:25:03 +00:00
user-install-dialog.c set style properties for dockables. 2001-08-03 19:43:19 +00:00
user-install-dialog.h removed the gimp_busy boolean, check whether user_installation is needed 2001-07-10 19:16:16 +00:00
view-commands.c app/Makefile.am removed. 2001-06-26 12:09:43 +00:00
view-commands.h app/Makefile.am removed. 2001-06-26 12:09:43 +00:00