summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-04-17 16:17:29 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-05-01 10:39:01 -0700
commit33fd77e9e43b0fa29cb484b72d910bdf0ecccbc8 (patch)
tree0ebd1c0615445af5e1321a85b6878087b4cb54a8 /src/lib/efl
parent193149deb85004aeda452dd4d729f995f4f313f9 (diff)
ecore: move close_on_destructor to close_on_invalidate as that describe the behavior best.
Fix all use to correctly behave on invalidate.
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_io_buffer.c4
-rw-r--r--src/lib/efl/interfaces/efl_io_buffer.eo2
-rw-r--r--src/lib/efl/interfaces/efl_io_closer.eo10
-rw-r--r--src/lib/efl/interfaces/efl_io_queue.c4
-rw-r--r--src/lib/efl/interfaces/efl_io_queue.eo2
5 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/efl/interfaces/efl_io_buffer.c b/src/lib/efl/interfaces/efl_io_buffer.c
index 5a0a0d10ba..c0c505e6b8 100644
--- a/src/lib/efl/interfaces/efl_io_buffer.c
+++ b/src/lib/efl/interfaces/efl_io_buffer.c
@@ -356,12 +356,12 @@ _efl_io_buffer_efl_io_closer_close_on_exec_get(const Eo *o EINA_UNUSED, Efl_Io_B
356} 356}
357 357
358EOLIAN static void 358EOLIAN static void
359_efl_io_buffer_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd EINA_UNUSED, Eina_Bool close_on_destructor EINA_UNUSED) 359_efl_io_buffer_efl_io_closer_close_on_invalidate_set(Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd EINA_UNUSED, Eina_Bool close_on_invalidate EINA_UNUSED)
360{ 360{
361} 361}
362 362
363EOLIAN static Eina_Bool 363EOLIAN static Eina_Bool
364_efl_io_buffer_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd EINA_UNUSED) 364_efl_io_buffer_efl_io_closer_close_on_invalidate_get(const Eo *o EINA_UNUSED, Efl_Io_Buffer_Data *pd EINA_UNUSED)
365{ 365{
366 return EINA_TRUE; 366 return EINA_TRUE;
367} 367}
diff --git a/src/lib/efl/interfaces/efl_io_buffer.eo b/src/lib/efl/interfaces/efl_io_buffer.eo
index 75358d7bb3..428d45aeaa 100644
--- a/src/lib/efl/interfaces/efl_io_buffer.eo
+++ b/src/lib/efl/interfaces/efl_io_buffer.eo
@@ -153,7 +153,7 @@ class Efl.Io.Buffer (Efl.Object, Efl.Io.Reader, Efl.Io.Writer, Efl.Io.Closer, Ef
153 Efl.Io.Closer.close; 153 Efl.Io.Closer.close;
154 Efl.Io.Closer.closed { get; } 154 Efl.Io.Closer.closed { get; }
155 Efl.Io.Closer.close_on_exec { get; set; } 155 Efl.Io.Closer.close_on_exec { get; set; }
156 Efl.Io.Closer.close_on_destructor { get; set; } 156 Efl.Io.Closer.close_on_invalidate { get; set; }
157 Efl.Io.Sizer.resize; 157 Efl.Io.Sizer.resize;
158 Efl.Io.Sizer.size { get; } 158 Efl.Io.Sizer.size { get; }
159 Efl.Io.Positioner.seek; 159 Efl.Io.Positioner.seek;
diff --git a/src/lib/efl/interfaces/efl_io_closer.eo b/src/lib/efl/interfaces/efl_io_closer.eo
index f14c94401f..863be86c31 100644
--- a/src/lib/efl/interfaces/efl_io_closer.eo
+++ b/src/lib/efl/interfaces/efl_io_closer.eo
@@ -59,16 +59,16 @@ mixin Efl.Io.Closer {
59 } 59 }
60 } 60 }
61 61
62 @property close_on_destructor { 62 @property close_on_invalidate {
63 [[If true will automatically close() on object destructor. 63 [[If true will automatically close() on object invalidate.
64 64
65 If the object was deleted without close, this property 65 If the object was disconnected from its parent (including the main loop) without close,
66 will state whenever it should be closed or not. 66 this property will state whenever it should be closed or not.
67 ]] 67 ]]
68 get @pure_virtual { } 68 get @pure_virtual { }
69 set @pure_virtual { } 69 set @pure_virtual { }
70 values { 70 values {
71 close_on_destructor: bool; [[$true if close on destructor, $false otherwise]] 71 close_on_invalidate: bool; [[$true if close on invalidate, $false otherwise]]
72 } 72 }
73 } 73 }
74 } 74 }
diff --git a/src/lib/efl/interfaces/efl_io_queue.c b/src/lib/efl/interfaces/efl_io_queue.c
index 9885a5b693..20f3e951ef 100644
--- a/src/lib/efl/interfaces/efl_io_queue.c
+++ b/src/lib/efl/interfaces/efl_io_queue.c
@@ -483,12 +483,12 @@ _efl_io_queue_efl_io_closer_close_on_exec_get(const Eo *o EINA_UNUSED, Efl_Io_Qu
483} 483}
484 484
485EOLIAN static void 485EOLIAN static void
486_efl_io_queue_efl_io_closer_close_on_destructor_set(Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd EINA_UNUSED, Eina_Bool close_on_destructor EINA_UNUSED) 486_efl_io_queue_efl_io_closer_close_on_invalidate_set(Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd EINA_UNUSED, Eina_Bool close_on_invalidate EINA_UNUSED)
487{ 487{
488} 488}
489 489
490EOLIAN static Eina_Bool 490EOLIAN static Eina_Bool
491_efl_io_queue_efl_io_closer_close_on_destructor_get(const Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd EINA_UNUSED) 491_efl_io_queue_efl_io_closer_close_on_invalidate_get(const Eo *o EINA_UNUSED, Efl_Io_Queue_Data *pd EINA_UNUSED)
492{ 492{
493 return EINA_TRUE; 493 return EINA_TRUE;
494} 494}
diff --git a/src/lib/efl/interfaces/efl_io_queue.eo b/src/lib/efl/interfaces/efl_io_queue.eo
index 46bcde493f..f89c683c3e 100644
--- a/src/lib/efl/interfaces/efl_io_queue.eo
+++ b/src/lib/efl/interfaces/efl_io_queue.eo
@@ -116,6 +116,6 @@ class Efl.Io.Queue (Efl.Object, Efl.Io.Reader, Efl.Io.Writer, Efl.Io.Closer) {
116 Efl.Io.Closer.close; 116 Efl.Io.Closer.close;
117 Efl.Io.Closer.closed { get; } 117 Efl.Io.Closer.closed { get; }
118 Efl.Io.Closer.close_on_exec { get; set; } 118 Efl.Io.Closer.close_on_exec { get; set; }
119 Efl.Io.Closer.close_on_destructor { get; set; } 119 Efl.Io.Closer.close_on_invalidate { get; set; }
120 } 120 }
121} 121}