mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-04 21:12:47 -05:00
Handle GTK 3.22's deprecation of gdk_cairo_create().
Now the whole code base compiles and links successfully against 3.22.
This commit is contained in:
@ -124,6 +124,10 @@ typedef struct unifont_drawctx {
|
||||
GtkWidget *widget;
|
||||
cairo_t *cr;
|
||||
cairo_matrix_t origmatrix;
|
||||
#if GTK_CHECK_VERSION(3,22,0)
|
||||
GdkWindow *gdkwin;
|
||||
GdkDrawingContext *drawctx;
|
||||
#endif
|
||||
} cairo;
|
||||
#endif
|
||||
} u;
|
||||
|
Reference in New Issue
Block a user