summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_events.c')
-rw-r--r--src/lib/evas/canvas/evas_events.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c
index 0ef5e91..08bc9bb 100644
--- a/src/lib/evas/canvas/evas_events.c
+++ b/src/lib/evas/canvas/evas_events.c
@@ -939,7 +939,7 @@ evas_event_freeze(Evas *eo_e)
939 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS); 939 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS);
940 return; 940 return;
941 MAGIC_CHECK_END(); 941 MAGIC_CHECK_END();
942 eo_do(eo_e, eo_event_freeze()); 942 eo_event_freeze(eo_e);
943} 943}
944 944
945EAPI void 945EAPI void
@@ -948,13 +948,13 @@ evas_event_thaw(Evas *eo_e)
948 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS); 948 MAGIC_CHECK(eo_e, Evas, MAGIC_EVAS);
949 return; 949 return;
950 MAGIC_CHECK_END(); 950 MAGIC_CHECK_END();
951 eo_do(eo_e, eo_event_thaw()); 951 eo_event_thaw(eo_e);
952} 952}
953 953
954EOLIAN void 954EOLIAN void
955_evas_canvas_eo_base_event_freeze(Eo *eo_e, Evas_Public_Data *e) 955_evas_canvas_eo_base_event_freeze(Eo *eo_e, Evas_Public_Data *e)
956{ 956{
957 eo_do_super(eo_e, EVAS_CANVAS_CLASS, eo_event_freeze()); 957 eo_event_freeze(eo_super(eo_e, EVAS_CANVAS_CLASS));
958 e->is_frozen = EINA_TRUE; 958 e->is_frozen = EINA_TRUE;
959} 959}
960 960
@@ -962,10 +962,8 @@ EOLIAN void
962_evas_canvas_eo_base_event_thaw(Eo *eo_e, Evas_Public_Data *e) 962_evas_canvas_eo_base_event_thaw(Eo *eo_e, Evas_Public_Data *e)
963{ 963{
964 int fcount = -1; 964 int fcount = -1;
965 eo_do_super(eo_e, EVAS_CANVAS_CLASS, 965 eo_event_thaw(eo_super(eo_e, EVAS_CANVAS_CLASS));
966 eo_event_thaw()); 966 fcount = eo_event_freeze_count_get(eo_super(eo_e, EVAS_CANVAS_CLASS));
967 eo_do_super(eo_e, EVAS_CANVAS_CLASS,
968 fcount = eo_event_freeze_count_get());
969 if (0 == fcount) 967 if (0 == fcount)
970 { 968 {
971 Evas_Layer *lay; 969 Evas_Layer *lay;
@@ -993,7 +991,7 @@ evas_event_freeze_get(const Evas *eo_e)
993 return 0; 991 return 0;
994 MAGIC_CHECK_END(); 992 MAGIC_CHECK_END();
995 int ret = 0; 993 int ret = 0;
996 eo_do((Eo *)eo_e, ret = eo_event_freeze_count_get()); 994 ret = eo_event_freeze_count_get((Eo *)eo_e);
997 return ret; 995 return ret;
998} 996}
999 997