Commit cca220b4 authored by Sven Neumann's avatar Sven Neumann

If image_types == NULL, register plug-in with all image_types.

Should fix bug #3135.


--Sven
parent c01f1ee3
Sat Jan 1 22:42:55 CET 2000 Sven Neumann <sven@gimp.org>
* app/plug-in.c: If image_types == NULL, register plug-in with
all image_types. Should fix bug #3135.
* plug-ins/webbrowser/webbrowser.c: register with image_types = NULL
Sat Jan 1 21:05:38 CET 2000 Marc Lehmann <pcg@goof.com>
* INSTALL: "strip" doc patch by Daniel Egger.
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -3102,7 +3102,9 @@ plug_in_image_types_parse (char *image_types)
int types;
if (!image_types)
return (PLUG_IN_RGB_IMAGE | PLUG_IN_GRAY_IMAGE | PLUG_IN_INDEXED_IMAGE);
return (PLUG_IN_RGB_IMAGE | PLUG_IN_RGBA_IMAGE |
PLUG_IN_GRAY_IMAGE | PLUG_IN_GRAYA_IMAGE |
PLUG_IN_INDEXED_IMAGE | PLUG_IN_INDEXEDA_IMAGE);
types = 0;
......
......@@ -118,7 +118,7 @@ query ()
"Misha Dynin, Jamie Zawinski, Spencer Kimball & Peter Mattis",
"1997",
"<Toolbox>/Xtns/Web Browser/Open URL...",
"RGB*, GRAY*, INDEXED*",
NULL,
PROC_EXTENSION,
nargs, nreturn_vals,
args, return_vals);
......
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