mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
models: cleanup dead code
This commit is contained in:
parent
bcfc4197d8
commit
01ce89639e
1 changed files with 0 additions and 21 deletions
|
@ -261,10 +261,6 @@ class FilteredLogModelBase (LogModelBase):
|
||||||
|
|
||||||
return line_index
|
return line_index
|
||||||
|
|
||||||
def super_model_changed (self):
|
|
||||||
|
|
||||||
pass
|
|
||||||
|
|
||||||
def _iter_hierarchy (self):
|
def _iter_hierarchy (self):
|
||||||
|
|
||||||
model = self
|
model = self
|
||||||
|
@ -272,23 +268,6 @@ class FilteredLogModelBase (LogModelBase):
|
||||||
yield model
|
yield model
|
||||||
model = model.super_model
|
model = model.super_model
|
||||||
|
|
||||||
class FilteredLogModelIdentity (FilteredLogModelBase):
|
|
||||||
|
|
||||||
def __init__ (self, super_model):
|
|
||||||
|
|
||||||
FilteredLogModelBase.__init__ (self, super_model)
|
|
||||||
|
|
||||||
self.line_offsets = self.super_model.line_offsets
|
|
||||||
self.line_levels = self.super_model.line_levels
|
|
||||||
|
|
||||||
def line_index_from_super (self, super_line_index):
|
|
||||||
|
|
||||||
return super_line_index
|
|
||||||
|
|
||||||
def line_index_to_super (self, line_index):
|
|
||||||
|
|
||||||
return line_index
|
|
||||||
|
|
||||||
class FilteredLogModel (FilteredLogModelBase):
|
class FilteredLogModel (FilteredLogModelBase):
|
||||||
|
|
||||||
def __init__ (self, super_model):
|
def __init__ (self, super_model):
|
||||||
|
|
Loading…
Reference in a new issue