• Enrico Tröger's avatar
    Query GdkWindow reference only if available · 3966ba8c
    Enrico Tröger yazdı
    On startup, the Geany main window doesn't have a GdkWindow yet
    (probably because it is not yet mapped). This causes many
    'gdkdrawable-win32.c:2013 drawable is not a pixmap or window'
    warnings when resolving shortcuts on Windows.
    Since we pass the SLR_NO_UI to the Windows API, we probably
    don't need the parent hWnd reference at all.
    3966ba8c
win32.c 41.6 KB