summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_io_buffered_stream.c
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-01-17 13:59:56 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-01-17 13:59:57 -0500
commit1534f50be0cbbc00c50bf75c8ef7afba49455741 (patch)
treea6b40bb44b47767d75b68b88b23982bc9bf0b4af /src/lib/ecore/efl_io_buffered_stream.c
parent57ceb9b8ea8ac6f0502d473317e4c1e7017c4186 (diff)
Make Efl.Ui.Closer an interface instead of mixin
Summary: It is a mixin only because of the setter method for the "closed" property, otherwise, it would be a pure interface. Nobody is setting that property, so let's just remove the setter (leaving only the getter) and make this class an interface. This should clear the scenario for languages currently having issues with mixins (like C#). Related to T7601. Test Plan: Nothing changes. Make check and examples still work. Reviewers: zmike, bu5hm4n, cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7570
Diffstat (limited to '')
-rw-r--r--src/lib/ecore/efl_io_buffered_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore/efl_io_buffered_stream.c b/src/lib/ecore/efl_io_buffered_stream.c
index a02b6bbb3e..53b1edaf1d 100644
--- a/src/lib/ecore/efl_io_buffered_stream.c
+++ b/src/lib/ecore/efl_io_buffered_stream.c
@@ -351,7 +351,7 @@ _efl_io_buffered_stream_inner_io_set(Eo *o, Efl_Io_Buffered_Stream_Data *pd, Efl
351 EINA_SAFETY_ON_NULL_RETURN(io); 351 EINA_SAFETY_ON_NULL_RETURN(io);
352 EINA_SAFETY_ON_TRUE_RETURN(pd->inner_io != NULL); 352 EINA_SAFETY_ON_TRUE_RETURN(pd->inner_io != NULL);
353 353
354 pd->is_closer = efl_isa(io, EFL_IO_CLOSER_MIXIN); 354 pd->is_closer = efl_isa(io, EFL_IO_CLOSER_INTERFACE);
355 is_reader = efl_isa(io, EFL_IO_READER_INTERFACE); 355 is_reader = efl_isa(io, EFL_IO_READER_INTERFACE);
356 is_writer = efl_isa(io, EFL_IO_WRITER_INTERFACE); 356 is_writer = efl_isa(io, EFL_IO_WRITER_INTERFACE);
357 357