Commit 714f4b14 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

some minor fixes / cleanup.

2001-04-23  Michael Natterer  <mitch@gimp.org>

	* app/gimpcontext.[ch]: some minor fixes / cleanup.

	* app/gimpdata.c: forgot to gtk_object_class_add_signals() in
	class_init().

	* app/gui/dialogs-constructors.[ch]: added a tool_tab_func() so
	the notebook tab shows a tool preview, pass a GimpContext to all
	dialog constructors and added set_context() functions for all
	dockable based dialogs so they can be configured to use the
	context of the destination dock when dragging them around.

	* app/widgets/gimpcontainermenuimpl.c: removed debugging output.

	* app/widgets/gimpdialogfactory.[ch]: add a method to create
	dockables (which gets passed the dock the dockable will be added
	to) so the dockables can be created in the right context.

	* app/widgets/gimpdock.[ch]: added a GimpContext attribute, remove
	the dockbooks explicitely in destroy().

	* app/widgets/gimpdockable.[ch]: dockables now know about their
	set_context_func() and can thus be dragged between different
	contexts.

	* app/widgets/gimpdockbook.c: gimp_dockbook_add(): refuse to add
	dockables to dockbooks which are not part of a dock, set the
	dockable's context after adding it.

	* app/widgets/gimpimagedock.[ch]: image docks now keep a pointer
	to the global image list which is passed to them on construction
	so they don't need to know about the global "image_context"
	variable, added an "Auto" button like in L&C.

	* app/gui/dialogs-commands.c: changed accordingly.
parent 2c89973c
2001-04-23 Michael Natterer <mitch@gimp.org>
* app/gimpcontext.[ch]: some minor fixes / cleanup.
* app/gimpdata.c: forgot to gtk_object_class_add_signals() in
class_init().
* app/gui/dialogs-constructors.[ch]: added a tool_tab_func() so
the notebook tab shows a tool preview, pass a GimpContext to all
dialog constructors and added set_context() functions for all
dockable based dialogs so they can be configured to use the
context of the destination dock when dragging them around.
* app/widgets/gimpcontainermenuimpl.c: removed debugging output.
* app/widgets/gimpdialogfactory.[ch]: add a method to create
dockables (which gets passed the dock the dockable will be added
to) so the dockables can be created in the right context.
* app/widgets/gimpdock.[ch]: added a GimpContext attribute, remove
the dockbooks explicitely in destroy().
* app/widgets/gimpdockable.[ch]: dockables now know about their
set_context_func() and can thus be dragged between different
contexts.
* app/widgets/gimpdockbook.c: gimp_dockbook_add(): refuse to add
dockables to dockbooks which are not part of a dock, set the
dockable's context after adding it.
* app/widgets/gimpimagedock.[ch]: image docks now keep a pointer
to the global image list which is passed to them on construction
so they don't need to know about the global "image_context"
variable, added an "Auto" button like in L&C.
* app/gui/dialogs-commands.c: changed accordingly.
2001-04-23 Sven Neumann <sven@gimp.org>
Merged Yosh's changes from stable branch:
......
......@@ -56,8 +56,9 @@ dialogs_add_tab_cmd_callback (GtkWidget *widget,
{
GtkWidget *dockable;
dockable = gimp_dialog_factory_dialog_new (dockbook->dock->factory,
GUINT_TO_POINTER (action));
dockable = gimp_dialog_factory_dockable_new (dockbook->dock->factory,
dockbook->dock,
GUINT_TO_POINTER (action));
if (dockable)
gimp_dockbook_add (dockbook, GIMP_DOCKABLE (dockable), -1);
......
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpcontext.c: Copyright (C) 1999 Michael Natterer <mitch@gimp.org>
* gimpcontext.c
* Copyright (C) 1999-2001 Michael Natterer
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -323,8 +324,8 @@ gimp_context_class_init (GimpContextClass *klass)
parent_class = gtk_type_class (GIMP_TYPE_OBJECT);
gimp_context_arg_types[GIMP_CONTEXT_ARG_TOOL] = GIMP_TYPE_TOOL_INFO;
gimp_context_arg_types[GIMP_CONTEXT_ARG_IMAGE] = GIMP_TYPE_IMAGE;
gimp_context_arg_types[GIMP_CONTEXT_ARG_TOOL] = GIMP_TYPE_TOOL_INFO;
gimp_context_arg_types[GIMP_CONTEXT_ARG_BRUSH] = GIMP_TYPE_BRUSH;
gimp_context_arg_types[GIMP_CONTEXT_ARG_PATTERN] = GIMP_TYPE_PATTERN;
gimp_context_arg_types[GIMP_CONTEXT_ARG_GRADIENT] = GIMP_TYPE_GRADIENT;
......@@ -337,7 +338,7 @@ gimp_context_class_init (GimpContextClass *klass)
GTK_TYPE_POINTER, GTK_ARG_READWRITE,
ARG_DISPLAY);
gtk_object_add_arg_type (gimp_context_arg_names[TOOL_CHANGED],
GTK_TYPE_INT, GTK_ARG_READWRITE,
GTK_TYPE_POINTER, GTK_ARG_READWRITE,
ARG_TOOL);
gtk_object_add_arg_type (gimp_context_arg_names[FOREGROUND_CHANGED],
GTK_TYPE_POINTER, GTK_ARG_READWRITE,
......@@ -538,8 +539,16 @@ gimp_context_destroy (GtkObject *object)
if (context->parent)
gimp_context_unset_parent (context);
context_list = g_slist_remove (context_list, context);
context->image = NULL;
context->display = NULL;
if (context->tool_info)
gtk_object_unref (GTK_OBJECT (context->tool_info));
{
gtk_object_unref (GTK_OBJECT (context->tool_info));
context->tool_info = NULL;
}
if (context->tool_name)
{
......@@ -548,7 +557,10 @@ gimp_context_destroy (GtkObject *object)
}
if (context->brush)
gtk_object_unref (GTK_OBJECT (context->brush));
{
gtk_object_unref (GTK_OBJECT (context->brush));
context->brush = NULL;
}
if (context->brush_name)
{
......@@ -557,7 +569,10 @@ gimp_context_destroy (GtkObject *object)
}
if (context->pattern)
gtk_object_unref (GTK_OBJECT (context->pattern));
{
gtk_object_unref (GTK_OBJECT (context->pattern));
context->pattern = NULL;
}
if (context->pattern_name)
{
......@@ -566,7 +581,10 @@ gimp_context_destroy (GtkObject *object)
}
if (context->gradient)
gtk_object_unref (GTK_OBJECT (context->gradient));
{
gtk_object_unref (GTK_OBJECT (context->gradient));
context->gradient = NULL;
}
if (context->gradient_name)
{
......@@ -575,7 +593,10 @@ gimp_context_destroy (GtkObject *object)
}
if (context->palette)
gtk_object_unref (GTK_OBJECT (context->palette));
{
gtk_object_unref (GTK_OBJECT (context->palette));
context->palette = NULL;
}
if (context->palette_name)
{
......@@ -585,8 +606,6 @@ gimp_context_destroy (GtkObject *object)
if (GTK_OBJECT_CLASS (parent_class)->destroy)
GTK_OBJECT_CLASS (parent_class)->destroy (object);
context_list = g_slist_remove (context_list, context);
}
static void
......@@ -736,7 +755,7 @@ gimp_context_new (const gchar *name,
GTK_SIGNAL_FUNC (gimp_context_image_removed),
context,
GTK_OBJECT (context));
gtk_signal_connect_while_alive (GTK_OBJECT (global_tool_info_list),
"remove",
GTK_SIGNAL_FUNC (gimp_context_tool_removed),
......@@ -898,7 +917,7 @@ gimp_context_set_parent (GimpContext *context,
context_return_if_fail (context);
g_return_if_fail (!parent || GIMP_IS_CONTEXT (parent));
if (context == parent)
if (context == parent || context->parent == parent)
return;
for (arg = 0; arg < GIMP_CONTEXT_NUM_ARGS; arg++)
......@@ -1010,7 +1029,7 @@ gimp_context_copy_arg (GimpContext *src,
context_return_if_fail (dest);
g_return_if_fail ((arg >= 0) && (arg < GIMP_CONTEXT_NUM_ARGS));
(* gimp_context_copy_arg_funcs[arg]) (src, dest);
gimp_context_copy_arg_funcs[arg] (src, dest);
}
void
......@@ -1058,7 +1077,7 @@ gimp_context_type_to_signal_name (GtkType type)
for (i = 0; i < GIMP_CONTEXT_NUM_ARGS; i++)
{
if (gimp_context_arg_types[i] == type)
if (gtk_type_is_a (type, gimp_context_arg_types[i]))
return gimp_context_signal_names[i];
}
......@@ -1394,8 +1413,6 @@ gimp_context_real_set_tool (GimpContext *context,
GTK_SIGNAL_FUNC (gimp_context_tool_dirty),
context);
/* FIXME if (tool_info != standard_tool_info) */
if (tool_info != standard_tool_info)
context->tool_name = g_strdup (GIMP_OBJECT (tool_info)->name);
}
......
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpcontext.h: Copyright (C) 1999 Michael Natterer <mitch@gimp.org>
* gimpcontext.h
* Copyright (C) 1999-2001 Michael Natterer
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
......@@ -133,6 +133,8 @@ gimp_data_class_init (GimpDataClass *klass)
gimp_marshal_POINTER__NONE,
GTK_TYPE_POINTER, 0);
gtk_object_class_add_signals (object_class, data_signals, LAST_SIGNAL);
object_class->destroy = gimp_data_destroy;
gimp_object_class->name_changed = gimp_data_name_changed;
......
This diff is collapsed.
......@@ -20,43 +20,76 @@
#define __DIALOGS_CONSTRUCTORS_H__
GtkWidget * dialogs_toolbox_get (GimpDialogFactory *factory);
GtkWidget * dialogs_lc_get (GimpDialogFactory *factory);
GtkWidget * dialogs_tool_options_get (GimpDialogFactory *factory);
GtkWidget * dialogs_device_status_get (GimpDialogFactory *factory);
GtkWidget * dialogs_brush_select_get (GimpDialogFactory *factory);
GtkWidget * dialogs_pattern_select_get (GimpDialogFactory *factory);
GtkWidget * dialogs_gradient_select_get (GimpDialogFactory *factory);
GtkWidget * dialogs_palette_get (GimpDialogFactory *factory);
GtkWidget * dialogs_error_console_get (GimpDialogFactory *factory);
GtkWidget * dialogs_document_index_get (GimpDialogFactory *factory);
GtkWidget * dialogs_preferences_get (GimpDialogFactory *factory);
GtkWidget * dialogs_input_devices_get (GimpDialogFactory *factory);
GtkWidget * dialogs_module_browser_get (GimpDialogFactory *factory);
GtkWidget * dialogs_indexed_palette_get (GimpDialogFactory *factory);
GtkWidget * dialogs_undo_history_get (GimpDialogFactory *factory);
GtkWidget * dialogs_display_filters_get (GimpDialogFactory *factory);
GtkWidget * dialogs_tips_get (GimpDialogFactory *factory);
GtkWidget * dialogs_about_get (GimpDialogFactory *factory);
GtkWidget * dialogs_toolbox_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_lc_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_tool_options_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_device_status_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_brush_select_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_pattern_select_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_gradient_select_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_palette_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_error_console_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_document_index_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_preferences_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_input_devices_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_module_browser_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_indexed_palette_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_undo_history_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_display_filters_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_tips_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_about_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_dock_new (GimpDialogFactory *factory);
GtkWidget * dialogs_dock_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_image_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_brush_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_pattern_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_gradient_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_palette_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_tool_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_image_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_brush_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_pattern_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_gradient_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_palette_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_tool_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_image_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_brush_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_pattern_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_gradient_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_palette_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_tool_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_image_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_brush_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_pattern_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_gradient_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_palette_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_tool_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_layer_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_channel_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_layer_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_channel_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
void dialogs_edit_brush_func (GimpData *data);
void dialogs_edit_gradient_func (GimpData *data);
......
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpcontext.c: Copyright (C) 1999 Michael Natterer <mitch@gimp.org>
* gimpcontext.c
* Copyright (C) 1999-2001 Michael Natterer
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -323,8 +324,8 @@ gimp_context_class_init (GimpContextClass *klass)
parent_class = gtk_type_class (GIMP_TYPE_OBJECT);
gimp_context_arg_types[GIMP_CONTEXT_ARG_TOOL] = GIMP_TYPE_TOOL_INFO;
gimp_context_arg_types[GIMP_CONTEXT_ARG_IMAGE] = GIMP_TYPE_IMAGE;
gimp_context_arg_types[GIMP_CONTEXT_ARG_TOOL] = GIMP_TYPE_TOOL_INFO;
gimp_context_arg_types[GIMP_CONTEXT_ARG_BRUSH] = GIMP_TYPE_BRUSH;
gimp_context_arg_types[GIMP_CONTEXT_ARG_PATTERN] = GIMP_TYPE_PATTERN;
gimp_context_arg_types[GIMP_CONTEXT_ARG_GRADIENT] = GIMP_TYPE_GRADIENT;
......@@ -337,7 +338,7 @@ gimp_context_class_init (GimpContextClass *klass)
GTK_TYPE_POINTER, GTK_ARG_READWRITE,
ARG_DISPLAY);
gtk_object_add_arg_type (gimp_context_arg_names[TOOL_CHANGED],
GTK_TYPE_INT, GTK_ARG_READWRITE,
GTK_TYPE_POINTER, GTK_ARG_READWRITE,
ARG_TOOL);
gtk_object_add_arg_type (gimp_context_arg_names[FOREGROUND_CHANGED],
GTK_TYPE_POINTER, GTK_ARG_READWRITE,
......@@ -538,8 +539,16 @@ gimp_context_destroy (GtkObject *object)
if (context->parent)
gimp_context_unset_parent (context);
context_list = g_slist_remove (context_list, context);
context->image = NULL;
context->display = NULL;
if (context->tool_info)
gtk_object_unref (GTK_OBJECT (context->tool_info));
{
gtk_object_unref (GTK_OBJECT (context->tool_info));
context->tool_info = NULL;
}
if (context->tool_name)
{
......@@ -548,7 +557,10 @@ gimp_context_destroy (GtkObject *object)
}
if (context->brush)
gtk_object_unref (GTK_OBJECT (context->brush));
{
gtk_object_unref (GTK_OBJECT (context->brush));
context->brush = NULL;
}
if (context->brush_name)
{
......@@ -557,7 +569,10 @@ gimp_context_destroy (GtkObject *object)
}
if (context->pattern)
gtk_object_unref (GTK_OBJECT (context->pattern));
{
gtk_object_unref (GTK_OBJECT (context->pattern));
context->pattern = NULL;
}
if (context->pattern_name)
{
......@@ -566,7 +581,10 @@ gimp_context_destroy (GtkObject *object)
}
if (context->gradient)
gtk_object_unref (GTK_OBJECT (context->gradient));
{
gtk_object_unref (GTK_OBJECT (context->gradient));
context->gradient = NULL;
}
if (context->gradient_name)
{
......@@ -575,7 +593,10 @@ gimp_context_destroy (GtkObject *object)
}
if (context->palette)
gtk_object_unref (GTK_OBJECT (context->palette));
{
gtk_object_unref (GTK_OBJECT (context->palette));
context->palette = NULL;
}
if (context->palette_name)
{
......@@ -585,8 +606,6 @@ gimp_context_destroy (GtkObject *object)
if (GTK_OBJECT_CLASS (parent_class)->destroy)
GTK_OBJECT_CLASS (parent_class)->destroy (object);
context_list = g_slist_remove (context_list, context);
}
static void
......@@ -736,7 +755,7 @@ gimp_context_new (const gchar *name,
GTK_SIGNAL_FUNC (gimp_context_image_removed),
context,
GTK_OBJECT (context));
gtk_signal_connect_while_alive (GTK_OBJECT (global_tool_info_list),
"remove",
GTK_SIGNAL_FUNC (gimp_context_tool_removed),
......@@ -898,7 +917,7 @@ gimp_context_set_parent (GimpContext *context,
context_return_if_fail (context);
g_return_if_fail (!parent || GIMP_IS_CONTEXT (parent));
if (context == parent)
if (context == parent || context->parent == parent)
return;
for (arg = 0; arg < GIMP_CONTEXT_NUM_ARGS; arg++)
......@@ -1010,7 +1029,7 @@ gimp_context_copy_arg (GimpContext *src,
context_return_if_fail (dest);
g_return_if_fail ((arg >= 0) && (arg < GIMP_CONTEXT_NUM_ARGS));
(* gimp_context_copy_arg_funcs[arg]) (src, dest);
gimp_context_copy_arg_funcs[arg] (src, dest);
}
void
......@@ -1058,7 +1077,7 @@ gimp_context_type_to_signal_name (GtkType type)
for (i = 0; i < GIMP_CONTEXT_NUM_ARGS; i++)
{
if (gimp_context_arg_types[i] == type)
if (gtk_type_is_a (type, gimp_context_arg_types[i]))
return gimp_context_signal_names[i];
}
......@@ -1394,8 +1413,6 @@ gimp_context_real_set_tool (GimpContext *context,
GTK_SIGNAL_FUNC (gimp_context_tool_dirty),
context);
/* FIXME if (tool_info != standard_tool_info) */
if (tool_info != standard_tool_info)
context->tool_name = g_strdup (GIMP_OBJECT (tool_info)->name);
}
......
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpcontext.h: Copyright (C) 1999 Michael Natterer <mitch@gimp.org>
* gimpcontext.h
* Copyright (C) 1999-2001 Michael Natterer
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
......@@ -133,6 +133,8 @@ gimp_data_class_init (GimpDataClass *klass)
gimp_marshal_POINTER__NONE,
GTK_TYPE_POINTER, 0);
gtk_object_class_add_signals (object_class, data_signals, LAST_SIGNAL);
object_class->destroy = gimp_data_destroy;
gimp_object_class->name_changed = gimp_data_name_changed;
......
......@@ -56,8 +56,9 @@ dialogs_add_tab_cmd_callback (GtkWidget *widget,
{
GtkWidget *dockable;
dockable = gimp_dialog_factory_dialog_new (dockbook->dock->factory,
GUINT_TO_POINTER (action));
dockable = gimp_dialog_factory_dockable_new (dockbook->dock->factory,
dockbook->dock,
GUINT_TO_POINTER (action));
if (dockable)
gimp_dockbook_add (dockbook, GIMP_DOCKABLE (dockable), -1);
......
This diff is collapsed.
......@@ -20,43 +20,76 @@
#define __DIALOGS_CONSTRUCTORS_H__
GtkWidget * dialogs_toolbox_get (GimpDialogFactory *factory);
GtkWidget * dialogs_lc_get (GimpDialogFactory *factory);
GtkWidget * dialogs_tool_options_get (GimpDialogFactory *factory);
GtkWidget * dialogs_device_status_get (GimpDialogFactory *factory);
GtkWidget * dialogs_brush_select_get (GimpDialogFactory *factory);
GtkWidget * dialogs_pattern_select_get (GimpDialogFactory *factory);
GtkWidget * dialogs_gradient_select_get (GimpDialogFactory *factory);
GtkWidget * dialogs_palette_get (GimpDialogFactory *factory);
GtkWidget * dialogs_error_console_get (GimpDialogFactory *factory);
GtkWidget * dialogs_document_index_get (GimpDialogFactory *factory);
GtkWidget * dialogs_preferences_get (GimpDialogFactory *factory);
GtkWidget * dialogs_input_devices_get (GimpDialogFactory *factory);
GtkWidget * dialogs_module_browser_get (GimpDialogFactory *factory);
GtkWidget * dialogs_indexed_palette_get (GimpDialogFactory *factory);
GtkWidget * dialogs_undo_history_get (GimpDialogFactory *factory);
GtkWidget * dialogs_display_filters_get (GimpDialogFactory *factory);
GtkWidget * dialogs_tips_get (GimpDialogFactory *factory);
GtkWidget * dialogs_about_get (GimpDialogFactory *factory);
GtkWidget * dialogs_toolbox_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_lc_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_tool_options_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_device_status_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_brush_select_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_pattern_select_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_gradient_select_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_palette_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_error_console_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_document_index_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_preferences_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_input_devices_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_module_browser_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_indexed_palette_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_undo_history_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_display_filters_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_tips_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_about_get (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_dock_new (GimpDialogFactory *factory);
GtkWidget * dialogs_dock_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_image_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_brush_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_pattern_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_gradient_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_palette_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_tool_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_image_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_brush_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_pattern_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_gradient_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_palette_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_tool_list_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_image_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_brush_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_pattern_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_gradient_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_palette_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_tool_grid_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_image_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_brush_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_pattern_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_gradient_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_palette_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_tool_grid_view_new (GimpDialogFactory *factory,
GimpContext *context);
GtkWidget * dialogs_layer_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_channel_list_view_new (GimpDialogFactory *factory);
GtkWidget * dialogs_layer_list_view_new (GimpDialogFactory *factory,
GimpContext *context);