Icon: Gdk.CairoContext does not exist
First of all 'Gdk.CairoContext' does not exist, this has been made up by the conversion script in820efa56b9
We do not need the previous gtk.gdk.CairoContext here anymore, we do only want to set the background of the context here. See the toolkit-gtk2 commit where this has been simplified [1]. [1]6ce463585c
Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel Quiñones <manuq@laptop.org>
This commit is contained in:
parent
4cc6967c8d
commit
1ed4eb8ad5
@ -278,7 +278,6 @@ class _IconBuffer(object):
|
||||
surface = cairo.ImageSurface(cairo.FORMAT_RGB24, int(width),
|
||||
int(height))
|
||||
context = cairo.Context(surface)
|
||||
context = Gdk.CairoContext(context)
|
||||
context.set_source_color(self.background_color)
|
||||
context.paint()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user