summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@univ-evry.fr>2015-04-24 14:49:13 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:07 +0200
commita53c52dee0a3906d1ed3628396929127bcb665ea (patch)
tree3f6bf571ae52a8645e5fff6ec3df6e8cb32ea88d /src
parentb0da753aaaee885b4bee15e2729076fb2ee152f1 (diff)
Ecore_Exe: remove process_id field as it is a duplicate of the pid one
It breaks ABI on Windows (not a big deal at this stage). Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore/ecore_exe_private.h1
-rw-r--r--src/lib/ecore/ecore_exe_win32.c3
2 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/ecore/ecore_exe_private.h b/src/lib/ecore/ecore_exe_private.h
index 11e5697525..f10c396109 100644
--- a/src/lib/ecore/ecore_exe_private.h
+++ b/src/lib/ecore/ecore_exe_private.h
@@ -76,7 +76,6 @@ struct _Ecore_Exe_Data
76#ifdef _WIN32 76#ifdef _WIN32
77 HANDLE process; 77 HANDLE process;
78 HANDLE process_thread; 78 HANDLE process_thread;
79 DWORD process_id;
80 DWORD thread_id; 79 DWORD thread_id;
81 Ecore_Win32_Handler *h_close; 80 Ecore_Win32_Handler *h_close;
82 Ecore_Exe_Win32_Signal sig; 81 Ecore_Exe_Win32_Signal sig;
diff --git a/src/lib/ecore/ecore_exe_win32.c b/src/lib/ecore/ecore_exe_win32.c
index 7a9f41fb83..54cf626401 100644
--- a/src/lib/ecore/ecore_exe_win32.c
+++ b/src/lib/ecore/ecore_exe_win32.c
@@ -60,7 +60,7 @@ _ecore_exe_close_cb(void *data,
60 60
61 e->exit_code = exit_code; 61 e->exit_code = exit_code;
62 e->exited = 1; 62 e->exited = 1;
63 e->pid = exe->process_id; 63 e->pid = exe->pid;
64 e->exe = obj; 64 e->exe = obj;
65 65
66 ecore_event_add(ECORE_EXE_EVENT_DEL, e, 66 ecore_event_add(ECORE_EXE_EVENT_DEL, e,
@@ -483,7 +483,6 @@ _impl_ecore_exe_eo_base_finalize(Eo *obj, Ecore_Exe_Data *exe)
483 483
484 exe->process = pi.hProcess; 484 exe->process = pi.hProcess;
485 exe->process_thread = pi.hThread; 485 exe->process_thread = pi.hThread;
486 exe->process_id = pi.dwProcessId;
487 exe->pid = pi.dwProcessId; 486 exe->pid = pi.dwProcessId;
488 exe->thread_id = pi.dwThreadId; 487 exe->thread_id = pi.dwThreadId;
489 488