]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/feedback.h
Fix compile on CentOS 7
[xonotic/netradiant.git] / radiant / feedback.h
index 04e98bb2d85ae26c48920caec664d13b58fd7caa..78f4fd045f0ad85546dd7066447dc8efb552d9eb 100644 (file)
@@ -171,13 +171,13 @@ void draw2D( VIEWTYPE viewType ){
        }
 }
 void destroyWindow(){
-       if ( GetWidget() != 0 ) {
+       if ( GetWidget() ) {
                Destroy();
        }
 }
 //  void HideDlg();
 protected:
-GtkWindow* BuildDialog();
+ui::Window BuildDialog();
 };
 
 extern CDbgDlg g_DbgDlg;