Commit 0e36f721 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

app/actions/view-actions.c de-uglify callback names for "new" and "close".

2005-09-24  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]: de-uglify callback names for
	"new" and "close".
parent 53151de7
2005-09-24 Michael Natterer <mitch@gimp.org>
* app/actions/view-actions.c
* app/actions/view-commands.[ch]: de-uglify callback names for
"new" and "close".
2005-09-24 Michael Natterer <mitch@gimp.org>
Applied (slightly modified) patch from Sylvain Foret which adds
......
......@@ -70,12 +70,12 @@ static GimpActionEntry view_actions[] =
{ "view-new", GTK_STOCK_NEW,
N_("_New View"), "", NULL,
G_CALLBACK (view_new_view_cmd_callback),
G_CALLBACK (view_new_cmd_callback),
GIMP_HELP_VIEW_NEW },
{ "view-close", GTK_STOCK_CLOSE,
N_( "_Close"), "<control>W", NULL,
G_CALLBACK (view_close_view_cmd_callback),
G_CALLBACK (view_close_cmd_callback),
GIMP_HELP_FILE_CLOSE },
{ "view-zoom-fit-in", GTK_STOCK_ZOOM_FIT,
......
......@@ -74,8 +74,8 @@ static void view_padding_color_dialog_update (GimpColorDialog *dialog,
/* public functions */
void
view_new_view_cmd_callback (GtkAction *action,
gpointer data)
view_new_cmd_callback (GtkAction *action,
gpointer data)
{
GimpDisplay *gdisp;
GimpDisplayShell *shell;
......@@ -89,8 +89,8 @@ view_new_view_cmd_callback (GtkAction *action,
}
void
view_close_view_cmd_callback (GtkAction *action,
gpointer data)
view_close_cmd_callback (GtkAction *action,
gpointer data)
{
GimpDisplay *gdisp;
return_if_no_display (gdisp, data);
......
......@@ -20,9 +20,9 @@
#define __VIEW_COMMANDS_H__
void view_new_view_cmd_callback (GtkAction *action,
void view_new_cmd_callback (GtkAction *action,
gpointer data);
void view_close_view_cmd_callback (GtkAction *action,
void view_close_cmd_callback (GtkAction *action,
gpointer data);
void view_zoom_fit_in_cmd_callback (GtkAction *action,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment