evas: Get rid of RGBA_Image ref member
(It's not by anything in the code.) SVN revision: 81182
This commit is contained in:
parent
70622f2b98
commit
f96a5aac5c
|
@ -22,7 +22,6 @@ _cserve2_rgba_image_set(RGBA_Image *im, void *data, int w, int h, int alpha)
|
||||||
{
|
{
|
||||||
memset(im, 0, sizeof *im);
|
memset(im, 0, sizeof *im);
|
||||||
|
|
||||||
im->ref = 1;
|
|
||||||
im->cache_entry.w = w;
|
im->cache_entry.w = w;
|
||||||
im->cache_entry.h = h;
|
im->cache_entry.h = h;
|
||||||
im->cache_entry.space = EVAS_COLORSPACE_ARGB8888;
|
im->cache_entry.space = EVAS_COLORSPACE_ARGB8888;
|
||||||
|
|
|
@ -237,7 +237,6 @@ _evas_cache_image_entry_new(Evas_Cache2 *cache,
|
||||||
}
|
}
|
||||||
|
|
||||||
im->flags = RGBA_IMAGE_NOTHING;
|
im->flags = RGBA_IMAGE_NOTHING;
|
||||||
im->ref = 1;
|
|
||||||
evas_common_rgba_image_scalecache_init(&im->cache_entry);
|
evas_common_rgba_image_scalecache_init(&im->cache_entry);
|
||||||
|
|
||||||
ie = &im->cache_entry;
|
ie = &im->cache_entry;
|
||||||
|
|
|
@ -173,7 +173,6 @@ _evas_common_rgba_image_new(void)
|
||||||
im = calloc(1, sizeof(RGBA_Image));
|
im = calloc(1, sizeof(RGBA_Image));
|
||||||
if (!im) return NULL;
|
if (!im) return NULL;
|
||||||
im->flags = RGBA_IMAGE_NOTHING;
|
im->flags = RGBA_IMAGE_NOTHING;
|
||||||
im->ref = 1;
|
|
||||||
|
|
||||||
evas_common_rgba_image_scalecache_init(&im->cache_entry);
|
evas_common_rgba_image_scalecache_init(&im->cache_entry);
|
||||||
|
|
||||||
|
|
|
@ -785,7 +785,6 @@ struct _RGBA_Image
|
||||||
} info;
|
} info;
|
||||||
|
|
||||||
void *extended_info;
|
void *extended_info;
|
||||||
int ref;
|
|
||||||
|
|
||||||
/* unsigned char scale; */
|
/* unsigned char scale; */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue