and set free_data to true (and use bool for alpha)
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 8 Nov 2011 13:22:57 +0000 (13:22 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 8 Nov 2011 13:22:57 +0000 (13:22 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@64954 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/notification/notification.c

index 6a519eb..61637e2 100644 (file)
@@ -402,7 +402,8 @@ e_notification_image_init(E_Notification_Image *img, Evas_Object *obj)
    img->width = w;
    img->height = h;
    img->bits_per_sample = 8;
-   img->has_alpha = 1;
+   img->has_alpha = EINA_TRUE;
+   img->free_data = EINA_TRUE;
    
    rowstride = evas_object_image_stride_get(obj);
    for (y = 0; y < img->height; y++)