From 50eb7d5599f41d9be3cd2cab08218a425f1cf5a0 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sat, 12 Oct 2019 20:07:57 -0400 Subject: [PATCH] Revert "legacy: Temporary workaround for #2897. (#2898)" This reverts commit e888d983efcb3881bf864b8161f6f25b76f41e59. --- lib/gears/object/properties.lua | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/gears/object/properties.lua b/lib/gears/object/properties.lua index 19ab239b..8f29ee01 100644 --- a/lib/gears/object/properties.lua +++ b/lib/gears/object/properties.lua @@ -161,16 +161,10 @@ function object._legacy_accessors(obj, name, capi_name, is_object, join_if, set_ magic_obj["get_"..name] = function(self) self = is_object and self or obj - --FIXME v5 all objects should use _private instead of getproperty. - if not self._private then - self._private = {} - end - self._private[name] = self._private[name] or copy_object( obj, {}, name, capi_name, is_object, join_if, set_empty ) - assert(self._private[name]) return self._private[name] end