Change-Id: I0082451554ec130ecdbc2820424d68c728632715
return ef;
}
+#ifndef WAYLAND
static void
_layout_del_cb (void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
prop_handler = NULL;
}
}
+#endif
static Evas_Object * create_inner_layout (void *data)
{
#ifndef WAYLAND
prop_handler = ecore_event_handler_add (ECORE_X_EVENT_WINDOW_PROPERTY, _prop_change_cb, NULL);
-#endif
-
evas_object_event_callback_add (bx, EVAS_CALLBACK_DEL, _layout_del_cb, NULL);
+#endif
return bx;
}