summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2013-12-18 18:48:49 -0200
committerMike Blumenkrantz <zmike@samsung.com>2013-12-18 16:25:23 -0500
commit3b009191011b5aba0070f61fb3545050d59c0365 (patch)
treefcbc5790573bd2ce07648ddc793d42b8b0306be4 /src
parentdc74938241d9bac0fa36e3153b3fd09cf6407f49 (diff)
systray: Remove xembed callbacks when xembed support is disable
Diffstat (limited to 'src')
-rw-r--r--src/modules/systray/e_mod_xembed.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/systray/e_mod_xembed.c b/src/modules/systray/e_mod_xembed.c
index c50692972..bb8440ae6 100644
--- a/src/modules/systray/e_mod_xembed.c
+++ b/src/modules/systray/e_mod_xembed.c
@@ -863,8 +863,14 @@ systray_xembed_new(Instance *inst)
863void 863void
864systray_xembed_free(Instance_Xembed *xembed) 864systray_xembed_free(Instance_Xembed *xembed)
865{ 865{
866 Evas_Object *ui = systray_edje_get(xembed->inst);
866 EINA_SAFETY_ON_NULL_RETURN(xembed); 867 EINA_SAFETY_ON_NULL_RETURN(xembed);
867 868
869 evas_object_event_callback_del(ui, EVAS_CALLBACK_MOVE,
870 _systray_xembed_cb_move);
871 evas_object_event_callback_del(ui, EVAS_CALLBACK_RESIZE,
872 _systray_xembed_cb_resize);
873
868 _systray_xembed_deactivate(xembed); 874 _systray_xembed_deactivate(xembed);
869 875
870 if (xembed->handler.message) 876 if (xembed->handler.message)