> +static void *gd_win32_get_hwnd(VirtualConsole *vc)
> +{
> +#ifdef G_OS_WIN32
> +    return gdk_win32_window_get_impl_hwnd(
> +        gtk_widget_get_window(vc->window ? vc->window : vc->s->window));

Can we move the gdk_win32_window_get_impl_hwnd() call to win32_kbd_set_window()?
That should remove the G_OS_WIN32 #ifdefs completely.

thanks,
  Gerd


Reply via email to