1
0
forked from drath/libratbag

ratbagd: remove GetResolutionByIndex

This is superfluous, it's trivial enough to get the Resolutions property and then
work with that. We're not talking about a huge amount of data anyway.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2017-07-20 09:19:45 +10:00
committed by Benjamin Tissoires
parent 70f3da98db
commit 7097f1dea6
2 changed files with 0 additions and 27 deletions

View File

@@ -347,11 +347,6 @@ class RatbagdProfile(_RatbagdDBus):
"""Set this profile to be the active profile."""
return self._dbus_call("SetActive", "")
def get_resolution_by_index(self, index):
"""Returns the resolution found at the given index. This function
returns a RatbagdResolution or None if no resolution was found."""
return self._dbus_call("GetResolutionByIndex", "u", index)
class RatbagdResolution(_RatbagdDBus):
"""Represents a ratbagd resolution."""