Re: StdProp overhaul: broken plug-ins



Hans,

/* Swallows the property into a singleton property list. Can be given NULL. */
/* Don't free yourself the property afterwards; prop_list_free() the list. */
/* You regain responsibility for the property if you g_ptr_array_destroy() the
   list. */
GPtrArray *prop_list_singleton(Property *prop);

/* create a synthetic property (with flags = 0). Free it with
   prop->ops->free(prop); or put it into a singleton list. NULL if object
   has nothing matching. Property's value is initialised by the object. */
Property *object_prop_by_name(Object *obj, const char *name, guint flags);
Property *object_prop_by_name_type(Object *obj, const char *name, 
                                 const char *type, guint flags);

are just in the CVS.

        -- Cyrille

-- 
Grumpf.





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