]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/pluginapi.cpp
Wrap more GTK
[xonotic/netradiant.git] / radiant / pluginapi.cpp
index fff61864529a71f81a3fbeb2119693f67684abbf..c006913df8cb2a797185ba95994f0a106e575309 100644 (file)
@@ -51,7 +51,7 @@ void QERApp_GetCamWindowExtents( int *x, int *y, int *width, int *height ){
 #if 0
        CamWnd* camwnd = g_pParentWnd->GetCamWnd();
 
-       gtk_window_get_position( GTK_WINDOW( camwnd->m_window ), x, y );
+       gtk_window_get_position( camwnd->m_window, x, y );
 
        *width = camwnd->Camera()->width;
        *height = camwnd->Camera()->height;