use load size instead of geom
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 6 Nov 2011 13:18:57 +0000 (13:18 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 6 Nov 2011 13:18:57 +0000 (13:18 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@64818 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/notification/notification.c

index d2c5b97..79d6cf7 100644 (file)
@@ -379,7 +379,7 @@ e_notification_image_init(E_Notification_Image *img, Evas_Object *obj)
 {
    EINA_SAFETY_ON_NULL_RETURN_VAL(img, EINA_FALSE);
    EINA_SAFETY_ON_NULL_RETURN_VAL(obj, EINA_FALSE);
-   evas_object_geometry_get(obj, NULL, NULL, &img->width, &img->height);
+   evas_object_image_load_size_get(obj, &img->width, &img->height);
    img->has_alpha = !!evas_object_image_alpha_get(obj);
    img->channels = img->has_alpha ? 4 : 3;
    img->rowstride = evas_object_image_stride_get(obj);