Seal GimpData completely and add the missing accessors

This commit is contained in:
Michael Natterer
2009-10-31 18:48:38 +01:00
parent 7abcfbf237
commit 22767ca7b8
26 changed files with 301 additions and 167 deletions

View File

@ -131,7 +131,7 @@ gradients_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("gradients-duplicate", gradient);
SET_SENSITIVE ("gradients-save-as-pov", gradient);
SET_SENSITIVE ("gradients-copy-location", gradient && filename);
SET_SENSITIVE ("gradients-delete", gradient && data->deletable);
SET_SENSITIVE ("gradients-delete", gradient && gimp_data_is_deletable (data));
#undef SET_SENSITIVE
}