Re: [Gimp-developer] typo in gimpruler.c



On Fri, 2015-06-12 at 10:13 +0100, jcupitt gmail com wrote:
Hi, I noticed a small typo in gimpruler.c on the gtk3-port branch:

  g_object_class_install_property (object_class,
                                   PROP_LOWER,
                                   gimp_param_spec_unit ("unit",

it should of course be PROP_UNIT.

Thanks, that typo was in all branches, I fixed it in master and
gimp-2-8. The next rebase will bring the change to gtk3-port, I
don't think the bug has any effect.

--Mitch

commit 8fdbb5b5a301d4951d64a165487275e795eb66bf
Author: Michael Natterer <mitch gimp org>
Date:   Sun Jun 14 22:57:46 2015 +0200

    libgimpwidgets: fix registration of GimpRuler's "unit" property
    
    Install it with the PROP_UNIT id not PROP_LOWER (probably a copy &
    paste mess). Spotted by John Cuppit.
    
    (cherry picked from commit
affef350e783b25f11c39a83861f3d018f85336d)

 libgimpwidgets/gimpruler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]