projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93243d2
)
Throw an exception when elm_image_memfile_set is failed
author
WonYoung Choi
<wy80.choi@samsung.com>
Tue, 13 Sep 2016 08:11:19 +0000
(17:11 +0900)
committer
WonYoung Choi
<wy80.choi@samsung.com>
Tue, 13 Sep 2016 08:11:19 +0000
(17:11 +0900)
Change-Id: I0ef8c85565c417d6632c56254bd1424ed655aa37
src/ElmSharp/ElmSharp/Image.cs
patch
|
blob
|
history
diff --git
a/src/ElmSharp/ElmSharp/Image.cs
b/src/ElmSharp/ElmSharp/Image.cs
index
84c4227
..
141623c
100644
(file)
--- a/
src/ElmSharp/ElmSharp/Image.cs
+++ b/
src/ElmSharp/ElmSharp/Image.cs
@@
-223,7
+223,7
@@
namespace ElmSharp
bool ret = Interop.Elementary.elm_image_memfile_set(Handle, img, size, IntPtr.Zero, IntPtr.Zero);
if (!ret)
{
-
Console.WriteLine
("Failed to set memory buffer to Image");
+
throw new InvalidOperationException
("Failed to set memory buffer to Image");
}
LoadingCompleted?.Invoke(this, EventArgs.Empty);