mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 12:02:32 +00:00
deprecate gimp_selection_clear() in favor of gimp_selection_none(). Fixes
2004-11-13 Sven Neumann <sven@gimp.org> * tools/pdbgen/pdb/selection.pdb: deprecate gimp_selection_clear() in favor of gimp_selection_none(). Fixes bug #156765. * app/pdb/selection_cmds.c * libgimp/gimpselection_pdb.[ch]: regenerated.
This commit is contained in:
parent
61c39023d6
commit
ff654be7d6
12
ChangeLog
12
ChangeLog
|
@ -1,8 +1,16 @@
|
||||||
|
2004-11-13 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* tools/pdbgen/pdb/selection.pdb: deprecate gimp_selection_clear()
|
||||||
|
in favor of gimp_selection_none(). Fixes bug #156765.
|
||||||
|
|
||||||
|
* app/pdb/selection_cmds.c
|
||||||
|
* libgimp/gimpselection_pdb.[ch]: regenerated.
|
||||||
|
|
||||||
2004-11-13 Kevin Cozens <kcozens@cvs.gimp.org>
|
2004-11-13 Kevin Cozens <kcozens@cvs.gimp.org>
|
||||||
|
|
||||||
* plug-ins/gfig/gfig.c
|
* plug-ins/gfig/gfig.c
|
||||||
* plug-ins/gfig/gfig-dialog.c: Changed gimp-selection-none to
|
* plug-ins/gfig/gfig-dialog.c: Changed gimp_selection_clear() to
|
||||||
gimp-selection-clear (bug #156765)
|
gimp_selection_none() (bug #156765).
|
||||||
|
|
||||||
2004-11-13 Kevin Cozens <kcozens@cvs.gimp.org>
|
2004-11-13 Kevin Cozens <kcozens@cvs.gimp.org>
|
||||||
|
|
||||||
|
|
|
@ -478,12 +478,12 @@ static ProcArg selection_clear_inargs[] =
|
||||||
static ProcRecord selection_clear_proc =
|
static ProcRecord selection_clear_proc =
|
||||||
{
|
{
|
||||||
"gimp_selection_clear",
|
"gimp_selection_clear",
|
||||||
"Set the selection to none, clearing all previous content.",
|
"This procedure is deprecated! Use 'gimp_selection_none' instead.",
|
||||||
"This procedure sets the selection mask to empty, assigning the value 0 to every pixel in the selection channel.",
|
"This procedure is deprecated! Use 'gimp_selection_none' instead.",
|
||||||
"Spencer Kimball & Peter Mattis",
|
"",
|
||||||
"Spencer Kimball & Peter Mattis",
|
"",
|
||||||
"1995-1996",
|
"",
|
||||||
NULL,
|
"gimp_selection_none",
|
||||||
GIMP_INTERNAL,
|
GIMP_INTERNAL,
|
||||||
1,
|
1,
|
||||||
selection_clear_inargs,
|
selection_clear_inargs,
|
||||||
|
|
|
@ -238,10 +238,7 @@ _gimp_selection_float (gint32 drawable_ID,
|
||||||
* gimp_selection_clear:
|
* gimp_selection_clear:
|
||||||
* @image_ID: The image.
|
* @image_ID: The image.
|
||||||
*
|
*
|
||||||
* Set the selection to none, clearing all previous content.
|
* This procedure is deprecated! Use gimp_selection_none() instead.
|
||||||
*
|
|
||||||
* This procedure sets the selection mask to empty, assigning the value
|
|
||||||
* 0 to every pixel in the selection channel.
|
|
||||||
*
|
*
|
||||||
* Returns: TRUE on success.
|
* Returns: TRUE on success.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -45,7 +45,9 @@ gboolean gimp_selection_translate (gint32 image_ID,
|
||||||
gint32 _gimp_selection_float (gint32 drawable_ID,
|
gint32 _gimp_selection_float (gint32 drawable_ID,
|
||||||
gint offx,
|
gint offx,
|
||||||
gint offy);
|
gint offy);
|
||||||
|
#ifndef GIMP_DISABLE_DEPRECATED
|
||||||
gboolean gimp_selection_clear (gint32 image_ID);
|
gboolean gimp_selection_clear (gint32 image_ID);
|
||||||
|
#endif /* GIMP_DISABLE_DEPRECATED */
|
||||||
gboolean gimp_selection_invert (gint32 image_ID);
|
gboolean gimp_selection_invert (gint32 image_ID);
|
||||||
gboolean gimp_selection_sharpen (gint32 image_ID);
|
gboolean gimp_selection_sharpen (gint32 image_ID);
|
||||||
gboolean gimp_selection_all (gint32 image_ID);
|
gboolean gimp_selection_all (gint32 image_ID);
|
||||||
|
|
|
@ -207,14 +207,7 @@ CODE
|
||||||
}
|
}
|
||||||
|
|
||||||
sub selection_clear {
|
sub selection_clear {
|
||||||
$blurb = 'Set the selection to none, clearing all previous content.';
|
&std_pdb_deprecated ('gimp_selection_none');
|
||||||
|
|
||||||
$help = <<'HELP';
|
|
||||||
This procedure sets the selection mask to empty, assigning the value 0 to every
|
|
||||||
pixel in the selection channel.
|
|
||||||
HELP
|
|
||||||
|
|
||||||
&std_pdb_misc;
|
|
||||||
|
|
||||||
@inargs = ( &std_image_arg );
|
@inargs = ( &std_image_arg );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue