diff --git a/tools/ratbagc.py.in b/tools/ratbagc.py.in index 07dd485f..cf8db419 100644 --- a/tools/ratbagc.py.in +++ b/tools/ratbagc.py.in @@ -444,16 +444,6 @@ class RatbagdResolution(metaclass=MetaRatbag): """The index of this resolution.""" return self._id - @property - def capabilities(self): - """The capabilities of this resolution as a list. Capabilities not - present on the resolution are not in the list. Thus use e.g. - - if RatbagdResolution.CAP_SEPARATE_XY_RESOLUTION is in resolution.capabilities: - do something - """ - return self._capabilities - @property def resolution(self): """The tuple (xres, yres) with each resolution in DPI.""" diff --git a/tools/ratbagd.py b/tools/ratbagd.py index ef25b27b..28437bf6 100644 --- a/tools/ratbagd.py +++ b/tools/ratbagd.py @@ -515,8 +515,6 @@ class RatbagdProfile(_RatbagdDBus): class RatbagdResolution(_RatbagdDBus): """Represents a ratbagd resolution.""" - CAP_SEPARATE_XY_RESOLUTION = 1 - def __init__(self, object_path): _RatbagdDBus.__init__(self, "Resolution", object_path) self._active = self._get_dbus_property("IsActive") @@ -539,16 +537,6 @@ class RatbagdResolution(_RatbagdDBus): """The index of this resolution.""" return self._get_dbus_property("Index") - @GObject.Property - def capabilities(self): - """The capabilities of this resolution as a list. Capabilities not - present on the resolution are not in the list. Thus use e.g. - - if RatbagdResolution.CAP_SEPARATE_XY_RESOLUTION is in resolution.capabilities: - do something - """ - return self._get_dbus_property("Capabilities") or [] - @GObject.Property def resolution(self): """The resolution in DPI, either as single value tuple ``(res, )``