summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_pan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/efl_ui_pan.c')
-rw-r--r--src/lib/elementary/efl_ui_pan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_pan.c b/src/lib/elementary/efl_ui_pan.c
index b84e0ba..fcbe6dd 100644
--- a/src/lib/elementary/efl_ui_pan.c
+++ b/src/lib/elementary/efl_ui_pan.c
@@ -178,6 +178,7 @@ _efl_ui_pan_efl_content_content_set(Evas_Object *obj, Efl_Ui_Pan_Data *psd, Evas
178 evas_object_smart_changed(obj); 178 evas_object_smart_changed(obj);
179 179
180end: 180end:
181 efl_event_callback_call(obj, EFL_CONTENT_EVENT_CONTENT_CHANGED, content);
181 efl_event_callback_call(obj, EFL_UI_PAN_EVENT_CONTENT_CHANGED, NULL); 182 efl_event_callback_call(obj, EFL_UI_PAN_EVENT_CONTENT_CHANGED, NULL);
182 return EINA_TRUE; 183 return EINA_TRUE;
183} 184}
@@ -193,7 +194,7 @@ _efl_ui_pan_efl_content_content_unset(Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *pd)
193{ 194{
194 Efl_Gfx_Stack *old_content = pd->content; 195 Efl_Gfx_Stack *old_content = pd->content;
195 196
196 efl_canvas_group_member_del(obj, pd->content); 197 efl_canvas_group_member_remove(obj, pd->content);
197 evas_object_event_callback_del_full 198 evas_object_event_callback_del_full
198 (pd->content, EVAS_CALLBACK_DEL, _efl_ui_pan_content_del_cb, obj); 199 (pd->content, EVAS_CALLBACK_DEL, _efl_ui_pan_content_del_cb, obj);
199 evas_object_event_callback_del_full 200 evas_object_event_callback_del_full
@@ -201,6 +202,7 @@ _efl_ui_pan_efl_content_content_unset(Eo *obj EINA_UNUSED, Efl_Ui_Pan_Data *pd)
201 obj); 202 obj);
202 pd->content = NULL; 203 pd->content = NULL;
203 pd->content_w = pd->content_h = pd->px = pd->py = 0; 204 pd->content_w = pd->content_h = pd->px = pd->py = 0;
205 efl_event_callback_call(obj, EFL_CONTENT_EVENT_CONTENT_CHANGED, NULL);
204 efl_event_callback_call(obj, EFL_UI_PAN_EVENT_CONTENT_CHANGED, NULL); 206 efl_event_callback_call(obj, EFL_UI_PAN_EVENT_CONTENT_CHANGED, NULL);
205 207
206 return old_content; 208 return old_content;