mirror of https://github.com/GNOME/gimp.git
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".
This commit is contained in:
parent
53151de72d
commit
0e36f7217e
|
@ -1,3 +1,9 @@
|
|||
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,
|
||||
|
|
Loading…
Reference in New Issue