Skip to content

Commit

Permalink
oops: missed from 071b2ac
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 9, 2023
1 parent 1323df1 commit ec31abf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xpra/client/gl/gtk3/drawing_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, wid : int, window_alpha : bool, pixel_depth : int=0):
super().__init__(wid, window_alpha, pixel_depth)

def __repr__(self):
return "GLDrawingArea(%s, %s, %s)" % (self.wid, self.size, self.pixel_format)
return "GLDrawingArea(%s, %s)" % (self.wid, self.size)

def idle_add(self, *args, **kwargs):
GLib.idle_add(*args, **kwargs)
Expand Down Expand Up @@ -73,7 +73,6 @@ def with_gl_context(self, cb:Callable, *args):
log("GLDrawingArea.with_gl_context delayed: %s%s", cb, ellipsizer(args))
self.on_realize_cb.append((cb, args))


def get_bit_depth(self, pixel_depth=0) -> int:
return pixel_depth or self.context.get_bit_depth() or 24

Expand Down

0 comments on commit ec31abf

Please sign in to comment.