small fixes...

--Sven
This commit is contained in:
Sven Neumann 1999-06-18 09:16:33 +00:00
parent ef67644a02
commit f8a0c294c2
5 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,12 @@
Fri Jun 18 10:55:46 MEST 1999 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/gimpage.pdb
* app/gimage_cmds.c:
fixed a bug in (gimp-image-floating-sel-attached-to)
* plug-ins/rcm/rcm.c: changed the registered plug-in name so it
follows the naming conventions
Thu Jun 17 22:30:00 CST 1999 Seth Burgess <sjburges@gimp.org>
* app/colormap_dialog.i.c : set usize on indexed color pallete,

View File

@ -2129,7 +2129,11 @@ image_floating_sel_attached_to_invoker (Argument *args)
if (success)
{
floating_sel = gimage_floating_sel (gimage);
drawable = GIMP_DRAWABLE (GIMP_LAYER (floating_sel)->fs.drawable);
if (floating_sel)
drawable = GIMP_DRAWABLE (GIMP_LAYER (floating_sel)->fs.drawable);
else
drawable = NULL;
}
return_args = procedural_db_return_args (&image_floating_sel_attached_to_proc, success);

View File

@ -104,7 +104,7 @@ void query(void)
int nargs = sizeof (args) / sizeof (args[0]);
int nreturn_vals = 0;
gimp_install_procedure ("Colormap rotation plug-in",
gimp_install_procedure ("plug-in-rotate-colormap",
"Colormap rotation as in xv",
"Exchanges two color ranges. "\
"Based on code from Pavel Grinfeld (pavel@ml.com). "\

View File

@ -927,7 +927,11 @@ HELP
code => <<'CODE'
{
floating_sel = gimage_floating_sel (gimage);
drawable = GIMP_DRAWABLE (GIMP_LAYER (floating_sel)->fs.drawable);
if (floating_sel)
drawable = GIMP_DRAWABLE (GIMP_LAYER (floating_sel)->fs.drawable);
else
drawable = NULL;
}
CODE
);

View File

@ -927,7 +927,11 @@ HELP
code => <<'CODE'
{
floating_sel = gimage_floating_sel (gimage);
drawable = GIMP_DRAWABLE (GIMP_LAYER (floating_sel)->fs.drawable);
if (floating_sel)
drawable = GIMP_DRAWABLE (GIMP_LAYER (floating_sel)->fs.drawable);
else
drawable = NULL;
}
CODE
);