Fix image checker to resolve C# crash
[platform/core/api/system-settings.git] / libutil / sstu.c
index 7464807..633178e 100644 (file)
@@ -105,7 +105,7 @@ API bool sstu_is_valid_image(const char *path)
                return false;
        }
 
-       ee = ecore_evas_new(NULL, 0, 0, 100, 100, NULL);
+       ee = ecore_evas_buffer_new(100, 100);
        evas = ecore_evas_get(ee);
 
        void *img = evas_object_image_add(evas);