projects
/
profile
/
tv
/
apps
/
native
/
air_mediahub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387bda6
)
viewer: set photocam path to NULL when unloaded
45/55945/1
author
Minkyu Kang
<mk7.kang@samsung.com>
Wed, 30 Dec 2015 08:56:46 +0000
(17:56 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Wed, 30 Dec 2015 08:56:46 +0000
(17:56 +0900)
Change-Id: Id4406aa9616070b3da9de3887bf7120fdd90fd1e
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
src/view/viewer.c
patch
|
blob
|
history
diff --git
a/src/view/viewer.c
b/src/view/viewer.c
index
cb51621
..
bc0bf03
100644
(file)
--- a/
src/view/viewer.c
+++ b/
src/view/viewer.c
@@
-239,6
+239,7
@@
static void _set_bg_color(struct _priv *priv, int r, int g, int b, int a)
static void _image_unload(struct _priv *priv)
{
if (priv->photo_pre) {
+ elm_photocam_file_set(priv->photo_pre, NULL);
evas_object_del(priv->photo_pre);
priv->photo_pre = NULL;
}