summaryrefslogtreecommitdiff
path: root/efl/eo
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-06-02 17:21:42 +0200
committerdavemds <dave@gurumeditation.it>2014-06-02 17:21:42 +0200
commit4a57a7deaa97119dc54aec4ef18c3db5f39d1790 (patch)
treee0da771116170721feffab6709131dd38b167fd5 /efl/eo
parent9068b792f671e6a184cd23c74e223ffa61dde57c (diff)
Follow recent Eo api changes
eo_event_global_freeze_get -> eo_event_global_freeze_count_get eo_event__freeze_get -> eo_event_freeze_count_get
Diffstat (limited to 'efl/eo')
-rw-r--r--efl/eo/efl.eo.pyx12
1 files changed, 6 insertions, 6 deletions
diff --git a/efl/eo/efl.eo.pyx b/efl/eo/efl.eo.pyx
index 9539362..d9547bb 100644
--- a/efl/eo/efl.eo.pyx
+++ b/efl/eo/efl.eo.pyx
@@ -26,8 +26,8 @@ from efl.c_eo cimport Eo as cEo, eo_init, eo_shutdown, eo_del, eo_do, \
26 eo_key_data_set, eo_key_data_get, eo_key_data_del, \ 26 eo_key_data_set, eo_key_data_get, eo_key_data_del, \
27 eo_event_callback_add, eo_event_callback_del, EO_EV_DEL, \ 27 eo_event_callback_add, eo_event_callback_del, EO_EV_DEL, \
28 eo_parent_get, eo_parent_set, Eo_Event_Description, \ 28 eo_parent_get, eo_parent_set, Eo_Event_Description, \
29 eo_event_freeze, eo_event_thaw, eo_event_freeze_get, \ 29 eo_event_freeze, eo_event_thaw, eo_event_freeze_count_get, \
30 eo_event_global_freeze, eo_event_global_thaw, eo_event_global_freeze_get 30 eo_event_global_freeze, eo_event_global_thaw, eo_event_global_freeze_count_get
31 31
32cimport efl.eo.enums as enums 32cimport efl.eo.enums as enums
33 33
@@ -52,10 +52,10 @@ def shutdown():
52 52
53init() 53init()
54 54
55def event_global_freeze_get(): 55def event_global_freeze_count_get():
56 cdef int fcount 56 cdef int fcount
57 fcount = <int>eo_do(<const cEo *>eo_base_class_get(), 57 fcount = <int>eo_do(<const cEo *>eo_base_class_get(),
58 eo_event_global_freeze_get()) 58 eo_event_global_freeze_count_get())
59 return fcount 59 return fcount
60 60
61def event_global_freeze(): 61def event_global_freeze():
@@ -287,12 +287,12 @@ cdef class Eo(object):
287 """Restart event propagation for this object.""" 287 """Restart event propagation for this object."""
288 eo_do(self.obj, eo_event_thaw()) 288 eo_do(self.obj, eo_event_thaw())
289 289
290 def event_freeze_get(self): 290 def event_freeze_count_get(self):
291 """Get the event freeze count for this object. 291 """Get the event freeze count for this object.
292 292
293 :return: the freeze count 293 :return: the freeze count
294 :rtype: int 294 :rtype: int
295 295
296 """ 296 """
297 cdef int fcount = <int>eo_do(self.obj, eo_event_freeze_get()) 297 cdef int fcount = <int>eo_do(self.obj, eo_event_freeze_count_get())
298 return fcount 298 return fcount