projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c1782
)
e_appinfo: make find_with_pid create e_appinfo if inexist
04/222404/2
author
Junseok, Kim
<juns.kim@samsung.com>
Tue, 14 Jan 2020 11:23:35 +0000
(20:23 +0900)
committer
Junseok, Kim
<juns.kim@samsung.com>
Tue, 14 Jan 2020 11:25:06 +0000
(20:25 +0900)
Change-Id: I578e233ba7b7083d5c6f01bd63cfde91abba2651
src/bin/e_appinfo.c
patch
|
blob
|
history
diff --git
a/src/bin/e_appinfo.c
b/src/bin/e_appinfo.c
index
8e2886f
..
e7a3df4
100644
(file)
--- a/
src/bin/e_appinfo.c
+++ b/
src/bin/e_appinfo.c
@@
-167,7
+167,11
@@
e_appinfo_find_with_pid(pid_t pid)
return eai;
}
- return NULL;
+ eai = e_appinfo_new();
+ e_appinfo_pid_set(eai, pid);
+ ELOGF("POL_APPINFO", "appinfo_find_with_pid: appinfo(%p) create with pid(%d)", NULL, eai, pid);
+
+ return eai;
}
E_API E_Appinfo *