Commit 62695195 authored by BST 1999 Adam D. Moss's avatar BST 1999 Adam D. Moss Committed by Adam D. Moss

Fix bizarre typo and clean up a switch.

Sun Sep 26 10:56:26 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/plug-in.c: Fix bizarre typo and clean up a switch.
parent 0fac8034
Sun Sep 26 10:56:26 BST 1999 Adam D. Moss <adam@gimp.org>
* app/plug-in.c: Fix bizarre typo and clean up a switch.
Sat Sep 25 22:09:30 PDT 1999 Manish Singh <yosh@gimp.org>
* configure.in: version number bump
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
......@@ -1256,9 +1256,6 @@ plug_in_set_menu_sensitivity (GimpImageType type)
{
switch (type)
{
case -1:
sensitive = FALSE;
break;
case RGB_GIMAGE:
sensitive = proc_def->image_types_val & RGB_IMAGE;
break;
......@@ -1277,6 +1274,9 @@ plug_in_set_menu_sensitivity (GimpImageType type)
case INDEXEDA_GIMAGE:
sensitive = proc_def->image_types_val & INDEXEDA_IMAGE;
break;
default:
sensitive = FALSE;
break;
}
menus_set_sensitive (proc_def->menu_path, sensitive);
......@@ -2146,7 +2146,7 @@ plug_in_init_file (char *filename)
if (g_strcasecmp (name, plug_in_name) == 0)
{
g_print ("duplicate plug-in: \"%s\" (skipping)\n"), filename;
g_print ("duplicate plug-in: \"%s\" (skipping)\n", filename);
return;
}
......
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