projects
/
framework
/
uifw
/
cbhm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ffa9d5
)
enable screen capture
author
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Wed, 20 Oct 2010 10:43:28 +0000
(19:43 +0900)
committer
Hyoyoung Chang
<hyoyoung.chang@samsung.com>
Wed, 20 Oct 2010 10:43:28 +0000
(19:43 +0900)
src/scrcapture.c
patch
|
blob
|
history
diff --git
a/src/scrcapture.c
b/src/scrcapture.c
index
590671b
..
d623d1c
100644
(file)
--- a/
src/scrcapture.c
+++ b/
src/scrcapture.c
@@
-49,6
+49,14
@@
static Eina_Bool _scrcapture_capture_postprocess(void* data)
}
DTIME("end capture postprocess - %s\n", capimginfo->filename);
+
+ char *imgpath = NULL;
+ imgpath = malloc(strlen(capimginfo->filename)+strlen("file://")+2);
+ snprintf(imgpath, strlen(capimginfo->filename)+strlen("file://")+1,
+ "%s%s", "file://", capimginfo->filename);
+ DTRACE("add to image history = %s\n", imgpath);
+ clipdrawer_add_image_item(imgpath);
+ free(imgpath);
evas_object_del(capimginfo->eo);
free(capimginfo->imgdata);