Commit f8a0c294 authored by Sven Neumann's avatar Sven Neumann
Browse files

small fixes...


--Sven
parent ef67644a
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,
......
......@@ -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);
......
......@@ -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). "\
......
......@@ -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
);
......
......@@ -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
);
......
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