]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/gtkgensurf/plugin.cpp
radiant: replace StringBuffer with std::string
[xonotic/netradiant.git] / contrib / gtkgensurf / plugin.cpp
index 38a730da77c133f3f2830898fed1cc2b825421a0..3af80d63a98292025e6dd70178190234ab4e8ded 100644 (file)
@@ -140,7 +140,7 @@ void QERPlug_Dispatch( const char *p, vec3_t vMin, vec3_t vMax, bool bSingleBrus
                        UseFaceBounds();
                }
 
-               gtk_widget_show( g_pWnd );
+               g_pWnd.show();
        }
 }
 
@@ -197,8 +197,6 @@ bool GenSurfSynapseClient::RequestAPI( APIDescriptor_t *pAPI ){
        return false;
 }
 
-#include "version.h"
-
 const char* GenSurfSynapseClient::GetInfo(){
        return "GtkGenSurf - built " __DATE__ " " RADIANT_VERSION;
 }