]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/gtkgensurf/gensurf.cpp
Wrap GTK
[xonotic/netradiant.git] / contrib / gtkgensurf / gensurf.cpp
index b28416e29bb485fceda4f2177c90dfc1dd2370b7..cecc8ab298ab53565658f8017b3d91fffa2f1329 100644 (file)
@@ -409,7 +409,7 @@ void WriteIniFile( const char *file ){
 }
 
 void UpdatePreview( bool DataChange ){
-       if ( g_pWndPreview && GTK_WIDGET_VISIBLE( g_pWndPreview ) ) {
+       if ( g_pWndPreview && gtk_widget_get_visible( g_pWndPreview ) ) {
                if ( DataChange ) {
                        GenerateXYZ();
                }