Commit 8a46ff87 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c

2004-10-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.c
	* plug-ins/common/CEL.c
	* plug-ins/common/aa.c
	* plug-ins/common/compressor.c
	* plug-ins/common/csource.c
	* plug-ins/common/dicom.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/header.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/mng.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/pix.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/psp.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/url.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/common/xwd.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/gfli/gfli.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/main.c
	* plug-ins/xjt/xjt.c: removed the calls to gimp_plugin_menu_register()
	from all plug-ins. File plug-ins don't register into a menu any longer.
parent 934734af
2004-10-28 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmp.c
* plug-ins/common/CEL.c
* plug-ins/common/aa.c
* plug-ins/common/compressor.c
* plug-ins/common/csource.c
* plug-ins/common/dicom.c
* plug-ins/common/gbr.c
* plug-ins/common/gif.c
* plug-ins/common/gifload.c
* plug-ins/common/gih.c
* plug-ins/common/gtm.c
* plug-ins/common/header.c
* plug-ins/common/jpeg.c
* plug-ins/common/mng.c
* plug-ins/common/pat.c
* plug-ins/common/pcx.c
* plug-ins/common/pix.c
* plug-ins/common/png.c
* plug-ins/common/pnm.c
* plug-ins/common/postscript.c
* plug-ins/common/psd.c
* plug-ins/common/psd_save.c
* plug-ins/common/psp.c
* plug-ins/common/sunras.c
* plug-ins/common/svg.c
* plug-ins/common/tga.c
* plug-ins/common/tiff.c
* plug-ins/common/url.c
* plug-ins/common/wmf.c
* plug-ins/common/xbm.c
* plug-ins/common/xpm.c
* plug-ins/common/xwd.c
* plug-ins/faxg3/faxg3.c
* plug-ins/fits/fits.c
* plug-ins/gfli/gfli.c
* plug-ins/sgi/sgi.c
* plug-ins/winicon/main.c
* plug-ins/xjt/xjt.c: removed the calls to gimp_plugin_menu_register()
from all plug-ins. File plug-ins don't register into a menu any longer.
2004-10-28 Sven Neumann <sven@gimp.org>
 
* plug-ins/common/raw.c (query): do not install an extension for
......
......@@ -124,7 +124,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_bmp_load", "<Load>");
gimp_register_file_handler_mime ("file_bmp_load", "image/bmp");
gimp_register_magic_load_handler ("file_bmp_load",
"bmp",
......@@ -143,11 +142,8 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_bmp_save", "<Save>");
gimp_register_file_handler_mime ("file_bmp_save", "image/bmp");
gimp_register_save_handler ("file_bmp_save",
"bmp",
"");
gimp_register_save_handler ("file_bmp_save", "bmp", "");
}
static void
......
......@@ -116,7 +116,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_cel_load", "<Load>");
gimp_register_magic_load_handler ("file_cel_load",
"cel",
"",
......@@ -134,10 +133,7 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_cel_save", "<Save>");
gimp_register_save_handler ("file_cel_save",
"cel",
"");
gimp_register_save_handler ("file_cel_save", "cel", "");
}
static void
......
......@@ -97,11 +97,8 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_aa_save", "<Save>");
gimp_register_file_handler_mime ("file_aa_save", "text/plain");
gimp_register_save_handler ("file_aa_save",
"txt,ansi,text",
"");
gimp_register_save_handler ("file_aa_save", "txt,ansi,text", "");
}
/**
......
......@@ -246,7 +246,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register (compressor->load_proc, "<Load>");
gimp_register_file_handler_mime (compressor->load_proc,
compressor->mime_type);
gimp_register_magic_load_handler (compressor->load_proc,
......@@ -269,8 +268,7 @@ query (void)
gimp_register_file_handler_mime (compressor->save_proc,
compressor->mime_type);
gimp_register_save_handler (compressor->save_proc,
compressor->extensions,
"");
compressor->extensions, "");
}
}
......
......@@ -111,11 +111,8 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_csource_save", "<Save>");
gimp_register_file_handler_mime ("file_csource_save", "text/x-csrc");
gimp_register_save_handler ("file_csource_save",
"c",
"");
gimp_register_save_handler ("file_csource_save", "c", "");
}
static void
......
......@@ -138,7 +138,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_dicom_load", "<Load>");
gimp_register_file_handler_mime ("file_dicom_load", "image/x-dcm");
gimp_register_magic_load_handler ("file_dicom_load",
"dcm,dicom",
......@@ -163,11 +162,8 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_dicom_save", "<Save>");
gimp_register_file_handler_mime ("file_dicom_save", "image/x-dcm");
gimp_register_save_handler ("file_dicom_save",
"dcm,dicom",
"");
gimp_register_save_handler ("file_dicom_save", "dcm,dicom", "");
}
static void
......
......@@ -134,7 +134,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_gbr_load", "<Load>");
gimp_plugin_icon_register ("file_gbr_load",
GIMP_ICON_TYPE_STOCK_ID, GIMP_STOCK_BRUSH);
gimp_register_file_handler_mime ("file_gbr_load", "image/x-gimp-gbr");
......@@ -155,13 +154,10 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_gbr_save", "<Save>");
gimp_plugin_icon_register ("file_gbr_save",
GIMP_ICON_TYPE_STOCK_ID, GIMP_STOCK_BRUSH);
gimp_register_file_handler_mime ("file_gbr_save", "image/x-gimp-gbr");
gimp_register_save_handler ("file_gbr_save",
"gbr",
"");
gimp_register_save_handler ("file_gbr_save", "gbr", "");
}
static void
......
......@@ -405,11 +405,8 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_gif_save", "<Save>");
gimp_register_file_handler_mime ("file_gif_save", "image/gif");
gimp_register_save_handler ("file_gif_save",
"gif",
"");
gimp_register_save_handler ("file_gif_save", "gif", "");
}
static void
......
......@@ -147,8 +147,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_gif_load", "<Load>");
gimp_register_file_handler_mime ("file_gif_load", "image/gif");
gimp_register_magic_load_handler ("file_gif_load",
"gif",
......
......@@ -209,7 +209,6 @@ query (void)
G_N_ELEMENTS (gih_load_return_vals),
gih_load_args, gih_load_return_vals);
gimp_plugin_menu_register ("file_gih_load", "<Load>");
gimp_plugin_icon_register ("file_gih_load",
GIMP_ICON_TYPE_STOCK_ID, GIMP_STOCK_BRUSH);
gimp_register_file_handler_mime ("file_gih_load", "image/x-gimp-gih");
......@@ -230,7 +229,6 @@ query (void)
G_N_ELEMENTS (gih_save_args), 0,
gih_save_args, NULL);
gimp_plugin_menu_register ("file_gih_save", "<Save>");
gimp_plugin_icon_register ("file_gih_save",
GIMP_ICON_TYPE_STOCK_ID, GIMP_STOCK_BRUSH);
gimp_register_file_handler_mime ("file_gih_save", "image/x-gimp-gih");
......
......@@ -157,11 +157,8 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_gtm_save", "<Save>");
gimp_register_file_handler_mime ("file_gtm_save", "text/html");
gimp_register_save_handler ("file_gtm_save",
"html,htm",
"");
gimp_register_save_handler ("file_gtm_save", "html,htm", "");
}
static void
......
......@@ -78,11 +78,8 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_header_save", "<Save>");
gimp_register_file_handler_mime ("file_header_save", "text/x-chdr");
gimp_register_save_handler ("file_header_save",
"h",
"");
gimp_register_save_handler ("file_header_save", "h", "");
}
static void
......
......@@ -332,7 +332,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_jpeg_load", "<Load>");
gimp_register_file_handler_mime ("file_jpeg_load", "image/jpeg");
gimp_register_magic_load_handler ("file_jpeg_load",
"jpg,jpeg,jpe",
......@@ -351,11 +350,8 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_jpeg_save", "<Save>");
gimp_register_file_handler_mime ("file_jpeg_save", "image/jpeg");
gimp_register_save_handler ("file_jpeg_save",
"jpg,jpeg,jpe",
"");
gimp_register_save_handler ("file_jpeg_save", "jpg,jpeg,jpe", "");
}
static void
......
......@@ -1587,7 +1587,6 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_mng_save", "<Save>");
gimp_register_file_handler_mime ("file_mng_save", "image/x-mng");
gimp_register_save_handler ("file_mng_save", "mng", "");
}
......
......@@ -108,7 +108,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_pat_load", "<Load>");
gimp_plugin_icon_register ("file_pat_load",
GIMP_ICON_TYPE_STOCK_ID, GIMP_STOCK_PATTERN);
gimp_register_file_handler_mime ("file_pat_load", "image/x-gimp-pat");
......@@ -130,13 +129,10 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_pat_save", "<Save>");
gimp_plugin_icon_register ("file_pat_save",
GIMP_ICON_TYPE_STOCK_ID, GIMP_STOCK_PATTERN);
gimp_register_file_handler_mime ("file_pat_save", "image/x-gimp-pat");
gimp_register_save_handler ("file_pat_save",
"pat",
"");
gimp_register_save_handler ("file_pat_save", "pat", "");
}
static void
......
......@@ -100,7 +100,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_pcx_load", "<Load>");
gimp_register_file_handler_mime ("file_pcx_load", "image/x-pcx");
gimp_register_magic_load_handler ("file_pcx_load",
"pcx,pcc",
......@@ -119,11 +118,8 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_pcx_save", "<Save>");
gimp_register_file_handler_mime ("file_pcx_save", "image/x-pcx");
gimp_register_save_handler ("file_pcx_save",
"pcx,pcc",
"");
gimp_register_save_handler ("file_pcx_save", "pcx,pcc", "");
}
/* Declare internal functions. */
......
......@@ -145,7 +145,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_pix_load", "<Load>");
gimp_register_load_handler ("file_pix_load",
"pix,matte,mask,alpha,als",
"");
......@@ -162,10 +161,7 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_pix_save", "<Save>");
gimp_register_save_handler ("file_pix_save",
"pix,matte,mask,alpha,als",
"");
gimp_register_save_handler ("file_pix_save", "pix,matte,mask,alpha,als", "");
}
/*
......
......@@ -253,7 +253,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_png_load", "<Load>");
gimp_register_file_handler_mime ("file_png_load", "image/png");
gimp_register_magic_load_handler ("file_png_load",
"png", "", "0,string,\211PNG\r\n\032\n");
......@@ -299,7 +298,6 @@ query (void)
G_N_ELEMENTS (save_args_defaults), 0,
save_args_defaults, NULL);
gimp_plugin_menu_register ("file_png_save_defaults", "<Save>");
gimp_register_file_handler_mime ("file_png_save_defaults", "image/png");
gimp_register_save_handler ("file_png_save_defaults", "png", "");
......
......@@ -232,7 +232,6 @@ query (void)
G_N_ELEMENTS (load_return_vals),
load_args, load_return_vals);
gimp_plugin_menu_register ("file_pnm_load", "<Load>");
gimp_register_file_handler_mime ("file_pnm_load", "image/x-portable-anymap");
gimp_register_magic_load_handler ("file_pnm_load",
"pnm,ppm,pgm,pbm",
......@@ -252,11 +251,8 @@ query (void)
G_N_ELEMENTS (save_args), 0,
save_args, NULL);
gimp_plugin_menu_register ("file_pnm_save", "<Save>");
gimp_register_file_handler_mime ("file_pnm_save", "image/x-portable-anymap");
gimp_register_save_handler ("file_pnm_save",
"pnm,ppm,pgm",
"");
gimp_register_save_handler ("file_pnm_save", "pnm,ppm,pgm", "");
}
static void
......
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