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:
committed by
Benjamin Tissoires
parent
70f3da98db
commit
7097f1dea6
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user