mirror of https://github.com/GNOME/gimp.git
app/gui/colormap-editor-commands.[ch] app/gui/debug-commands.[ch]
2004-04-19 Michael Natterer <mitch@gimp.org> * app/gui/colormap-editor-commands.[ch] * app/gui/debug-commands.[ch] * app/gui/dockable-commands.[ch] * app/gui/error-console-commands.[ch] * app/gui/file-commands.[ch] * app/gui/gradient-editor-commands.[ch] * app/gui/help-commands.[ch] * app/gui/qmask-commands.[ch] * app/gui/tool-options-commands.[ch]: removed "guint action" parameter from all callbacks which don't need it.
This commit is contained in:
parent
273d94fe15
commit
a7ffe94b93
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
|||
2004-04-19 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gui/colormap-editor-commands.[ch]
|
||||
* app/gui/debug-commands.[ch]
|
||||
* app/gui/dockable-commands.[ch]
|
||||
* app/gui/error-console-commands.[ch]
|
||||
* app/gui/file-commands.[ch]
|
||||
* app/gui/gradient-editor-commands.[ch]
|
||||
* app/gui/help-commands.[ch]
|
||||
* app/gui/qmask-commands.[ch]
|
||||
* app/gui/tool-options-commands.[ch]: removed "guint action"
|
||||
parameter from all callbacks which don't need it.
|
||||
|
||||
2004-04-19 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* menus/Makefile.am
|
||||
|
|
|
@ -33,8 +33,7 @@
|
|||
|
||||
void
|
||||
colormap_editor_edit_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpColormapEditor *editor = GIMP_COLORMAP_EDITOR (data);
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
|
||||
|
||||
void colormap_editor_edit_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void colormap_editor_add_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
|
|
|
@ -33,8 +33,7 @@
|
|||
|
||||
void
|
||||
colormap_editor_edit_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpColormapEditor *editor = GIMP_COLORMAP_EDITOR (data);
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
|
||||
|
||||
void colormap_editor_edit_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void colormap_editor_add_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
|
|
|
@ -48,8 +48,7 @@ static void debug_dump_menus_recurse_menu (GtkWidget *menu,
|
|||
|
||||
void
|
||||
debug_dump_menus_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GList *list;
|
||||
|
||||
|
@ -86,8 +85,7 @@ debug_dump_menus_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
debug_mem_profile_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
extern gboolean gimp_debug_memsize;
|
||||
|
||||
|
|
|
@ -26,12 +26,12 @@
|
|||
|
||||
|
||||
#ifdef ENABLE_DEBUG_MENU
|
||||
void debug_dump_menus_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
void debug_mem_profile_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
|
||||
void debug_dump_menus_cmd_callback (GtkWidget *widget,
|
||||
gpointer data);
|
||||
void debug_mem_profile_cmd_callback (GtkWidget *widget,
|
||||
gpointer data);
|
||||
|
||||
#endif /* ENABLE_DEBUG_MENU */
|
||||
|
||||
|
||||
|
|
|
@ -74,8 +74,7 @@ dockable_add_tab_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
dockable_close_tab_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable;
|
||||
|
@ -92,8 +91,7 @@ dockable_close_tab_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
dockable_detach_tab_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable;
|
||||
|
@ -265,8 +263,7 @@ dockable_tab_style_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
dockable_toggle_image_menu_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
|
||||
|
@ -277,8 +274,7 @@ dockable_toggle_image_menu_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
dockable_toggle_auto_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
|
||||
|
@ -310,8 +306,7 @@ dockable_change_screen_destroy_callback (GtkWidget *query_box,
|
|||
|
||||
void
|
||||
dockable_change_screen_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GtkWidget *dock;
|
||||
|
|
|
@ -24,11 +24,9 @@ void dockable_add_tab_cmd_callback (GtkWidget *widget,
|
|||
gpointer data,
|
||||
guint action);
|
||||
void dockable_close_tab_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void dockable_detach_tab_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
void dockable_toggle_view_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
|
@ -41,14 +39,11 @@ void dockable_tab_style_cmd_callback (GtkWidget *widget,
|
|||
guint action);
|
||||
|
||||
void dockable_toggle_image_menu_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void dockable_toggle_auto_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void dockable_change_screen_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __DOCKABLE_COMMANDS_H__ */
|
||||
|
|
|
@ -33,8 +33,7 @@
|
|||
|
||||
void
|
||||
error_console_clear_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
|
||||
|
@ -44,8 +43,7 @@ error_console_clear_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
error_console_save_all_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
|
||||
|
@ -55,8 +53,7 @@ error_console_save_all_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
error_console_save_selection_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
|
||||
|
|
|
@ -21,14 +21,11 @@
|
|||
|
||||
|
||||
void error_console_clear_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void error_console_save_all_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void error_console_save_selection_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __ERROR_CONSOLE_COMMANDS_H__ */
|
||||
|
|
|
@ -125,8 +125,7 @@ file_new_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_type_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
gimp_file_dialog_set_file_proc (GIMP_FILE_DIALOG (data),
|
||||
g_object_get_data (G_OBJECT (widget),
|
||||
|
@ -197,8 +196,7 @@ file_last_opened_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_save_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
return_if_no_display (gdisp, data);
|
||||
|
@ -215,7 +213,7 @@ file_save_cmd_callback (GtkWidget *widget,
|
|||
|
||||
if (! uri)
|
||||
{
|
||||
file_save_as_cmd_callback (widget, data, action);
|
||||
file_save_as_cmd_callback (widget, data);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -245,8 +243,7 @@ file_save_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_save_as_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
return_if_no_display (gdisp, data);
|
||||
|
@ -256,8 +253,7 @@ file_save_as_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_save_a_copy_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
return_if_no_display (gdisp, data);
|
||||
|
@ -267,8 +263,7 @@ file_save_a_copy_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_save_template_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
GtkWidget *qbox;
|
||||
|
@ -287,8 +282,7 @@ file_save_template_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_revert_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
GtkWidget *query_box;
|
||||
|
@ -348,8 +342,7 @@ file_revert_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_close_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
return_if_no_display (gdisp, data);
|
||||
|
@ -359,8 +352,7 @@ file_close_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_quit_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
return_if_no_gimp (gimp, data);
|
||||
|
|
|
@ -25,8 +25,7 @@ void file_new_cmd_callback (GtkWidget *widget,
|
|||
guint action);
|
||||
|
||||
void file_type_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
void file_open_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
|
@ -36,30 +35,20 @@ void file_last_opened_cmd_callback (GtkWidget *widget,
|
|||
guint action);
|
||||
|
||||
void file_save_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void file_save_as_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void file_save_a_copy_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void file_save_template_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
void file_revert_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
void file_pref_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void file_close_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void file_quit_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
void file_file_open_dialog (Gimp *gimp,
|
||||
const gchar *uri,
|
||||
|
|
|
@ -68,8 +68,7 @@ static void gradient_editor_replicate_response (GtkWidget *widge
|
|||
|
||||
void
|
||||
gradient_editor_left_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -185,8 +184,7 @@ gradient_editor_save_left_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_right_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -368,8 +366,7 @@ gradient_editor_coloring_type_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_flip_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -495,8 +492,7 @@ gradient_editor_flip_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_replicate_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GtkWidget *dialog;
|
||||
|
@ -573,8 +569,7 @@ gradient_editor_replicate_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_split_midpoint_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -601,8 +596,7 @@ gradient_editor_split_midpoint_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_split_uniformly_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GtkWidget *dialog;
|
||||
|
@ -681,8 +675,7 @@ gradient_editor_split_uniformly_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_delete_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -768,8 +761,7 @@ gradient_editor_delete_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_recenter_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -796,8 +788,7 @@ gradient_editor_recenter_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_redistribute_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -855,8 +846,7 @@ gradient_editor_redistribute_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_blend_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
|
||||
|
@ -873,8 +863,7 @@ gradient_editor_blend_color_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_blend_opacity_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
|
||||
|
||||
void gradient_editor_left_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_load_left_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
|
@ -31,8 +30,7 @@ void gradient_editor_save_left_cmd_callback (GtkWidget *widget,
|
|||
guint action);
|
||||
|
||||
void gradient_editor_right_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_load_right_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
|
@ -48,33 +46,24 @@ void gradient_editor_coloring_type_cmd_callback (GtkWidget *widget,
|
|||
guint action);
|
||||
|
||||
void gradient_editor_flip_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_replicate_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_split_midpoint_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_split_uniformly_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_delete_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_recenter_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_redistribute_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
void gradient_editor_blend_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_blend_opacity_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __GRADIENT_EDITOR_COMMANDS_H__ */
|
||||
|
|
|
@ -29,16 +29,14 @@
|
|||
|
||||
void
|
||||
help_help_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
gimp_standard_help_func (NULL, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
help_context_help_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
gimp_context_help (widget);
|
||||
}
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
|
||||
|
||||
void help_help_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void help_context_help_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __HELP_COMMANDS_H__ */
|
||||
|
|
|
@ -70,8 +70,7 @@ static void qmask_query_color_changed (GimpColorButton *button,
|
|||
|
||||
void
|
||||
qmask_toggle_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell = GIMP_DISPLAY_SHELL (data);
|
||||
|
||||
|
@ -106,8 +105,7 @@ qmask_invert_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
qmask_configure_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell = GIMP_DISPLAY_SHELL (data);
|
||||
|
||||
|
|
|
@ -21,14 +21,12 @@
|
|||
|
||||
|
||||
void qmask_toggle_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void qmask_invert_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
void qmask_configure_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __QMASK_COMMANDS_H__ */
|
||||
|
|
|
@ -70,8 +70,7 @@ static void qmask_query_color_changed (GimpColorButton *button,
|
|||
|
||||
void
|
||||
qmask_toggle_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell = GIMP_DISPLAY_SHELL (data);
|
||||
|
||||
|
@ -106,8 +105,7 @@ qmask_invert_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
qmask_configure_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell = GIMP_DISPLAY_SHELL (data);
|
||||
|
||||
|
|
|
@ -21,14 +21,12 @@
|
|||
|
||||
|
||||
void qmask_toggle_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void qmask_invert_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
void qmask_configure_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __QMASK_COMMANDS_H__ */
|
||||
|
|
|
@ -58,8 +58,7 @@ static void tool_options_rename_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_save_to_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptions *options = GIMP_TOOL_OPTIONS (data);
|
||||
gchar *name;
|
||||
|
@ -75,8 +74,7 @@ tool_options_save_to_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_save_new_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpEditor *editor = GIMP_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
@ -99,8 +97,7 @@ tool_options_save_new_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_restore_from_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptions *options = GIMP_TOOL_OPTIONS (data);
|
||||
|
||||
|
@ -110,8 +107,7 @@ tool_options_restore_from_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_rename_saved_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptions *options = GIMP_TOOL_OPTIONS (data);
|
||||
GtkWidget *qbox;
|
||||
|
@ -129,8 +125,7 @@ tool_options_rename_saved_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_delete_saved_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptions *options = GIMP_TOOL_OPTIONS (data);
|
||||
|
||||
|
@ -140,8 +135,7 @@ tool_options_delete_saved_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_reset_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptionsEditor *editor = GIMP_TOOL_OPTIONS_EDITOR (data);
|
||||
|
||||
|
@ -151,8 +145,7 @@ tool_options_reset_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_reset_all_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptionsEditor *editor = GIMP_TOOL_OPTIONS_EDITOR (data);
|
||||
|
||||
|
|
|
@ -21,26 +21,19 @@
|
|||
|
||||
|
||||
void tool_options_save_to_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_save_new_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_restore_from_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_rename_saved_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_delete_saved_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_reset_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_reset_all_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __TOOL_OPTIONS_COMMANDS_H__ */
|
||||
|
|
|
@ -33,8 +33,7 @@
|
|||
|
||||
void
|
||||
colormap_editor_edit_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpColormapEditor *editor = GIMP_COLORMAP_EDITOR (data);
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
|
||||
|
||||
void colormap_editor_edit_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void colormap_editor_add_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
|
|
|
@ -48,8 +48,7 @@ static void debug_dump_menus_recurse_menu (GtkWidget *menu,
|
|||
|
||||
void
|
||||
debug_dump_menus_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GList *list;
|
||||
|
||||
|
@ -86,8 +85,7 @@ debug_dump_menus_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
debug_mem_profile_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
extern gboolean gimp_debug_memsize;
|
||||
|
||||
|
|
|
@ -26,12 +26,12 @@
|
|||
|
||||
|
||||
#ifdef ENABLE_DEBUG_MENU
|
||||
void debug_dump_menus_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
void debug_mem_profile_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
|
||||
void debug_dump_menus_cmd_callback (GtkWidget *widget,
|
||||
gpointer data);
|
||||
void debug_mem_profile_cmd_callback (GtkWidget *widget,
|
||||
gpointer data);
|
||||
|
||||
#endif /* ENABLE_DEBUG_MENU */
|
||||
|
||||
|
||||
|
|
|
@ -74,8 +74,7 @@ dockable_add_tab_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
dockable_close_tab_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable;
|
||||
|
@ -92,8 +91,7 @@ dockable_close_tab_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
dockable_detach_tab_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GimpDockable *dockable;
|
||||
|
@ -265,8 +263,7 @@ dockable_tab_style_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
dockable_toggle_image_menu_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
|
||||
|
@ -277,8 +274,7 @@ dockable_toggle_image_menu_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
dockable_toggle_auto_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
|
||||
|
@ -310,8 +306,7 @@ dockable_change_screen_destroy_callback (GtkWidget *query_box,
|
|||
|
||||
void
|
||||
dockable_change_screen_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDockbook *dockbook = GIMP_DOCKBOOK (data);
|
||||
GtkWidget *dock;
|
||||
|
|
|
@ -24,11 +24,9 @@ void dockable_add_tab_cmd_callback (GtkWidget *widget,
|
|||
gpointer data,
|
||||
guint action);
|
||||
void dockable_close_tab_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void dockable_detach_tab_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
void dockable_toggle_view_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
|
@ -41,14 +39,11 @@ void dockable_tab_style_cmd_callback (GtkWidget *widget,
|
|||
guint action);
|
||||
|
||||
void dockable_toggle_image_menu_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void dockable_toggle_auto_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void dockable_change_screen_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __DOCKABLE_COMMANDS_H__ */
|
||||
|
|
|
@ -33,8 +33,7 @@
|
|||
|
||||
void
|
||||
error_console_clear_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
|
||||
|
@ -44,8 +43,7 @@ error_console_clear_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
error_console_save_all_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
|
||||
|
@ -55,8 +53,7 @@ error_console_save_all_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
error_console_save_selection_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpErrorConsole *console = GIMP_ERROR_CONSOLE (data);
|
||||
|
||||
|
|
|
@ -21,14 +21,11 @@
|
|||
|
||||
|
||||
void error_console_clear_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void error_console_save_all_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void error_console_save_selection_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __ERROR_CONSOLE_COMMANDS_H__ */
|
||||
|
|
|
@ -125,8 +125,7 @@ file_new_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_type_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
gimp_file_dialog_set_file_proc (GIMP_FILE_DIALOG (data),
|
||||
g_object_get_data (G_OBJECT (widget),
|
||||
|
@ -197,8 +196,7 @@ file_last_opened_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_save_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
return_if_no_display (gdisp, data);
|
||||
|
@ -215,7 +213,7 @@ file_save_cmd_callback (GtkWidget *widget,
|
|||
|
||||
if (! uri)
|
||||
{
|
||||
file_save_as_cmd_callback (widget, data, action);
|
||||
file_save_as_cmd_callback (widget, data);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -245,8 +243,7 @@ file_save_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_save_as_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
return_if_no_display (gdisp, data);
|
||||
|
@ -256,8 +253,7 @@ file_save_as_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_save_a_copy_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
return_if_no_display (gdisp, data);
|
||||
|
@ -267,8 +263,7 @@ file_save_a_copy_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_save_template_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
GtkWidget *qbox;
|
||||
|
@ -287,8 +282,7 @@ file_save_template_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_revert_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
GtkWidget *query_box;
|
||||
|
@ -348,8 +342,7 @@ file_revert_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_close_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplay *gdisp;
|
||||
return_if_no_display (gdisp, data);
|
||||
|
@ -359,8 +352,7 @@ file_close_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
file_quit_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
Gimp *gimp;
|
||||
return_if_no_gimp (gimp, data);
|
||||
|
|
|
@ -25,8 +25,7 @@ void file_new_cmd_callback (GtkWidget *widget,
|
|||
guint action);
|
||||
|
||||
void file_type_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
void file_open_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
|
@ -36,30 +35,20 @@ void file_last_opened_cmd_callback (GtkWidget *widget,
|
|||
guint action);
|
||||
|
||||
void file_save_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void file_save_as_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void file_save_a_copy_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void file_save_template_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
void file_revert_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
void file_pref_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void file_close_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void file_quit_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
void file_file_open_dialog (Gimp *gimp,
|
||||
const gchar *uri,
|
||||
|
|
|
@ -68,8 +68,7 @@ static void gradient_editor_replicate_response (GtkWidget *widge
|
|||
|
||||
void
|
||||
gradient_editor_left_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -185,8 +184,7 @@ gradient_editor_save_left_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_right_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -368,8 +366,7 @@ gradient_editor_coloring_type_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_flip_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -495,8 +492,7 @@ gradient_editor_flip_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_replicate_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GtkWidget *dialog;
|
||||
|
@ -573,8 +569,7 @@ gradient_editor_replicate_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_split_midpoint_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -601,8 +596,7 @@ gradient_editor_split_midpoint_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_split_uniformly_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GtkWidget *dialog;
|
||||
|
@ -681,8 +675,7 @@ gradient_editor_split_uniformly_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_delete_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -768,8 +761,7 @@ gradient_editor_delete_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_recenter_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -796,8 +788,7 @@ gradient_editor_recenter_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_redistribute_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
GimpGradient *gradient;
|
||||
|
@ -855,8 +846,7 @@ gradient_editor_redistribute_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_blend_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
|
||||
|
@ -873,8 +863,7 @@ gradient_editor_blend_color_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
gradient_editor_blend_opacity_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpGradientEditor *editor;
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
|
||||
|
||||
void gradient_editor_left_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_load_left_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
|
@ -31,8 +30,7 @@ void gradient_editor_save_left_cmd_callback (GtkWidget *widget,
|
|||
guint action);
|
||||
|
||||
void gradient_editor_right_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_load_right_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
|
@ -48,33 +46,24 @@ void gradient_editor_coloring_type_cmd_callback (GtkWidget *widget,
|
|||
guint action);
|
||||
|
||||
void gradient_editor_flip_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_replicate_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_split_midpoint_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_split_uniformly_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_delete_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_recenter_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_redistribute_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
void gradient_editor_blend_color_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void gradient_editor_blend_opacity_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __GRADIENT_EDITOR_COMMANDS_H__ */
|
||||
|
|
|
@ -29,16 +29,14 @@
|
|||
|
||||
void
|
||||
help_help_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
gimp_standard_help_func (NULL, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
help_context_help_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
gimp_context_help (widget);
|
||||
}
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
|
||||
|
||||
void help_help_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void help_context_help_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __HELP_COMMANDS_H__ */
|
||||
|
|
|
@ -70,8 +70,7 @@ static void qmask_query_color_changed (GimpColorButton *button,
|
|||
|
||||
void
|
||||
qmask_toggle_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell = GIMP_DISPLAY_SHELL (data);
|
||||
|
||||
|
@ -106,8 +105,7 @@ qmask_invert_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
qmask_configure_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpDisplayShell *shell = GIMP_DISPLAY_SHELL (data);
|
||||
|
||||
|
|
|
@ -21,14 +21,12 @@
|
|||
|
||||
|
||||
void qmask_toggle_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void qmask_invert_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
void qmask_configure_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __QMASK_COMMANDS_H__ */
|
||||
|
|
|
@ -58,8 +58,7 @@ static void tool_options_rename_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_save_to_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptions *options = GIMP_TOOL_OPTIONS (data);
|
||||
gchar *name;
|
||||
|
@ -75,8 +74,7 @@ tool_options_save_to_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_save_new_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpEditor *editor = GIMP_EDITOR (data);
|
||||
GimpContext *context;
|
||||
|
@ -99,8 +97,7 @@ tool_options_save_new_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_restore_from_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptions *options = GIMP_TOOL_OPTIONS (data);
|
||||
|
||||
|
@ -110,8 +107,7 @@ tool_options_restore_from_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_rename_saved_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptions *options = GIMP_TOOL_OPTIONS (data);
|
||||
GtkWidget *qbox;
|
||||
|
@ -129,8 +125,7 @@ tool_options_rename_saved_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_delete_saved_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptions *options = GIMP_TOOL_OPTIONS (data);
|
||||
|
||||
|
@ -140,8 +135,7 @@ tool_options_delete_saved_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_reset_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptionsEditor *editor = GIMP_TOOL_OPTIONS_EDITOR (data);
|
||||
|
||||
|
@ -151,8 +145,7 @@ tool_options_reset_cmd_callback (GtkWidget *widget,
|
|||
|
||||
void
|
||||
tool_options_reset_all_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action)
|
||||
gpointer data)
|
||||
{
|
||||
GimpToolOptionsEditor *editor = GIMP_TOOL_OPTIONS_EDITOR (data);
|
||||
|
||||
|
|
|
@ -21,26 +21,19 @@
|
|||
|
||||
|
||||
void tool_options_save_to_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_save_new_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_restore_from_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_rename_saved_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_delete_saved_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_reset_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
void tool_options_reset_all_cmd_callback (GtkWidget *widget,
|
||||
gpointer data,
|
||||
guint action);
|
||||
gpointer data);
|
||||
|
||||
|
||||
#endif /* __TOOL_OPTIONS_COMMANDS_H__ */
|
||||
|
|
Loading…
Reference in New Issue