1
0
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:
Simon Tatham
2015-08-16 14:16:23 +01:00
parent aac9d5fcf7
commit 0ffc564351
3 changed files with 5 additions and 1 deletions

View File

@ -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