initialize progress_gdisp_ID field in plug_in_new so things don't crash

* app/plug_in.c: initialize progress_gdisp_ID field in plug_in_new so
things don't crash

* app/menus.c: use proper keycodes (?) for zoom accelerator defaults

* plug-ins/apply_lens/apply_lens.c: fixed a warning

-Yosh
This commit is contained in:
Manish Singh 1998-06-15 19:48:57 +00:00
parent fe5a060988
commit 4c7784d736
28 changed files with 43 additions and 9 deletions

View File

@ -1,3 +1,13 @@
Mon Jun 15 12:42:43 PDT 1998 Manish Singh <yosh@gimp.org>
* app/plug_in.c: initialize progress_gdisp_ID field in
plug_in_new so things don't crash
* app/menus.c: use proper keycodes (?) for zoom accelerator
defaults
* plug-ins/apply_lens/apply_lens.c: fixed a warning
Mon Jun 15 14:39:43 MEST 1998 Sven Neumann <sven@gimp.org>
* app/preferences_dialog.c: Added units (B,KB,MB) to the

View File

@ -13,7 +13,9 @@ gimpdata_SCRIPTS = user_install
man_MANS=gimp.1 gimptool.1
m4datadir = $(datadir)/aclocal
scriptdata = gimp.m4
m4data_DATA = gimp.m4
scriptdata =
.PHONY: files populate checkin release

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -96,8 +96,8 @@ static GtkItemFactoryEntry image_entries[] =
{ "/Select/Save To Channel", NULL, select_save_cmd_callback, 0 },
{ "/Select/By Color...", NULL, select_by_color_cmd_callback, 0 },
{ "/View/Zoom In", "=", view_zoomin_cmd_callback, 0 },
{ "/View/Zoom Out", "-", view_zoomout_cmd_callback, 0 },
{ "/View/Zoom In", "equal", view_zoomin_cmd_callback, 0 },
{ "/View/Zoom Out", "minus", view_zoomout_cmd_callback, 0 },
{ "/View/Zoom/16:1", NULL, view_zoom_16_1_callback, 0 },
{ "/View/Zoom/8:1", NULL, view_zoom_8_1_callback, 0 },
{ "/View/Zoom/4:1", NULL, view_zoom_4_1_callback, 0 },

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -96,8 +96,8 @@ static GtkItemFactoryEntry image_entries[] =
{ "/Select/Save To Channel", NULL, select_save_cmd_callback, 0 },
{ "/Select/By Color...", NULL, select_by_color_cmd_callback, 0 },
{ "/View/Zoom In", "=", view_zoomin_cmd_callback, 0 },
{ "/View/Zoom Out", "-", view_zoomout_cmd_callback, 0 },
{ "/View/Zoom In", "equal", view_zoomin_cmd_callback, 0 },
{ "/View/Zoom Out", "minus", view_zoomout_cmd_callback, 0 },
{ "/View/Zoom/16:1", NULL, view_zoom_16_1_callback, 0 },
{ "/View/Zoom/8:1", NULL, view_zoom_8_1_callback, 0 },
{ "/View/Zoom/4:1", NULL, view_zoom_4_1_callback, 0 },

View File

@ -96,8 +96,8 @@ static GtkItemFactoryEntry image_entries[] =
{ "/Select/Save To Channel", NULL, select_save_cmd_callback, 0 },
{ "/Select/By Color...", NULL, select_by_color_cmd_callback, 0 },
{ "/View/Zoom In", "=", view_zoomin_cmd_callback, 0 },
{ "/View/Zoom Out", "-", view_zoomout_cmd_callback, 0 },
{ "/View/Zoom In", "equal", view_zoomin_cmd_callback, 0 },
{ "/View/Zoom Out", "minus", view_zoomout_cmd_callback, 0 },
{ "/View/Zoom/16:1", NULL, view_zoom_16_1_callback, 0 },
{ "/View/Zoom/8:1", NULL, view_zoom_8_1_callback, 0 },
{ "/View/Zoom/4:1", NULL, view_zoom_4_1_callback, 0 },

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -719,6 +719,7 @@ plug_in_new (char *name)
plug_in->progress = NULL;
plug_in->progress_label = NULL;
plug_in->progress_bar = NULL;
plug_in->progress_gdisp_ID = -1;
plug_in->user_data = NULL;
return plug_in;

View File

@ -96,8 +96,8 @@ static GtkItemFactoryEntry image_entries[] =
{ "/Select/Save To Channel", NULL, select_save_cmd_callback, 0 },
{ "/Select/By Color...", NULL, select_by_color_cmd_callback, 0 },
{ "/View/Zoom In", "=", view_zoomin_cmd_callback, 0 },
{ "/View/Zoom Out", "-", view_zoomout_cmd_callback, 0 },
{ "/View/Zoom In", "equal", view_zoomin_cmd_callback, 0 },
{ "/View/Zoom Out", "minus", view_zoomout_cmd_callback, 0 },
{ "/View/Zoom/16:1", NULL, view_zoom_16_1_callback, 0 },
{ "/View/Zoom/8:1", NULL, view_zoom_8_1_callback, 0 },
{ "/View/Zoom/4:1", NULL, view_zoom_4_1_callback, 0 },

View File

@ -51,6 +51,7 @@
- clean up source code
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>

View File

@ -51,6 +51,7 @@
- clean up source code
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>