Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_image_remove_and_free_attached_data_value ( const char *  key  ) 

Parameters:
key A string.
Removes the data and value attached to the current image with the specified key key and also calls the destructor function that was supplied when attaching it (see imlib_image_attach_data_value()).

Definition at line 5077 of file imlib2.c.

{
   ImlibImageTag      *t;
   ImlibImage         *im;

   if (!ctx)
      ctx = imlib_context_new();
   CHECK_PARAM_POINTER("imlib_image_remove_and_free_attached_data_value",
                       "image", ctx->image);
   CHECK_PARAM_POINTER("imlib_image_remove_and_free_attached_data_value",
                       "key", key);
   CAST_IMAGE(im, ctx->image);
   t = __imlib_RemoveTag(im, key);
   __imlib_FreeTag(im, t);
}


Generated by  Doxygen 1.6.0   Back to index