mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-06 05:52:48 -05:00
GTK3 port: respell GDK_WINDOW_XWINDOW / GDK_DRAWABLE_XID.
GDK3 now spells both of those as GDK_WINDOW_XID. (Of course 'drawable' is no longer a relevant concept in GDK3, since pixmaps are no longer supported and so all drawables are just windows.) We keep backwards compatibility, of course.
This commit is contained in:
@ -2996,7 +2996,7 @@ char *get_x_display(void *frontend)
|
||||
long get_windowid(void *frontend)
|
||||
{
|
||||
struct gui_data *inst = (struct gui_data *)frontend;
|
||||
return (long)GDK_WINDOW_XWINDOW(gtk_widget_get_window(inst->area));
|
||||
return (long)GDK_WINDOW_XID(gtk_widget_get_window(inst->area));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user