• Øyvind "pippin" Kolås's avatar
    gegl-op.h: a new way of chanting ops · 0e30e201
    Øyvind "pippin" Kolås authored
    The existing way of specifying additional ui contextual information for
    displaying interactions for operation properties
    
    gegl_chant_double_ui (var, "var", 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, "description")
    
    makes the inherited hard to remember order of parameters even harder to
    remember than the still hard to remember order of arguments in
    g_param_spec_double. This infrastructure uses var_args and named parameters;
    making the declaration concise and self-documenting - at the cost of some
    programming mistakes only surfacing at runtime.
    
    The chant prefix has also been trimmed away; replacing it with more
    descriptive vocabulary.
    
    The changes also makes it easier to subclass aribitrary gobject derived classes.
    0e30e201
Makefile.am 5.53 KB