Remove the get_hwnd() implementation from propset.c and reuse the