X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fgtkcompat.h;h=19086157e564d48519de737518a18318543a6045;hb=2eb952ca31aa13d1f6f429305fbb6f43a9a28c56;hp=6a8674c7fda3205c73fa48b3cf6f940ae3cbe23b;hpb=5cef6f96c2e59fc4e2654a7a8deba8edcc181863;p=PuTTY.git diff --git a/unix/gtkcompat.h b/unix/gtkcompat.h index 6a8674c7..19086157 100644 --- a/unix/gtkcompat.h +++ b/unix/gtkcompat.h @@ -180,4 +180,7 @@ #define gdk_get_display() gdk_display_get_name(gdk_display_get_default()) +#define gdk_cursor_new(cur) \ + gdk_cursor_new_for_display(gdk_display_get_default(), cur) + #endif