evas: Get rid of RGBA_Image ref member
authorLeandro Pereira <leandro@profusion.mobi>
Mon, 17 Dec 2012 21:26:15 +0000 (21:26 +0000)
committerLeandro Pereira <leandro@profusion.mobi>
Mon, 17 Dec 2012 21:26:15 +0000 (21:26 +0000)
(It's not by anything in the code.)

SVN revision: 81182

src/bin/evas/evas_cserve2_scale.c
src/lib/evas/cache2/evas_cache2.c
src/lib/evas/common/evas_image_main.c
src/lib/evas/include/evas_common.h

index c986332..aa96e04 100644 (file)
@@ -22,7 +22,6 @@ _cserve2_rgba_image_set(RGBA_Image *im, void *data, int w, int h, int alpha)
 {
    memset(im, 0, sizeof *im);
 
-   im->ref = 1;
    im->cache_entry.w = w;
    im->cache_entry.h = h;
    im->cache_entry.space = EVAS_COLORSPACE_ARGB8888;
index 6397f10..9d5d186 100644 (file)
@@ -237,7 +237,6 @@ _evas_cache_image_entry_new(Evas_Cache2 *cache,
      }
 
    im->flags = RGBA_IMAGE_NOTHING;
-   im->ref = 1;
    evas_common_rgba_image_scalecache_init(&im->cache_entry);
 
    ie = &im->cache_entry;
index 5262d5f..9638eb8 100644 (file)
@@ -173,7 +173,6 @@ _evas_common_rgba_image_new(void)
    im = calloc(1, sizeof(RGBA_Image));
    if (!im) return NULL;
    im->flags = RGBA_IMAGE_NOTHING;
-   im->ref = 1;
 
    evas_common_rgba_image_scalecache_init(&im->cache_entry);
 
index b8b2c33..4ba578a 100644 (file)
@@ -785,7 +785,6 @@ struct _RGBA_Image
      } info;
 
    void                *extended_info;
-   int                  ref;
 
 /*    unsigned char        scale; */