Re: [Gimp-developer] adding option to crop tool

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

 



Hi,

lists@xxxxxxxxxxxxxxxxx (Olivier) writes:

> -- added to gimp_crop_options_set_property:
>
>      case PROP_BLANK_OUTER_REGION:
>       options->blank_outer_region = g_value_get_enum (value);
>       break;
>
> -- added to gimp_crop_options_get_property:
>
>     case PROP_BLANK_OUTER_REGION:
>       g_value_set_enum (value, options->blank_outer_region);
>       break;

You are using g_value_get_enum() and g_value_set_enum() on a boolean
property.


Sven

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux