X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Ffeedback.h;h=567f00afd11a691e3a66f259c2b5461f93a96058;hb=335990b4b52a2f97a879afb68cff9bea05f05884;hp=04e98bb2d85ae26c48920caec664d13b58fd7caa;hpb=7fc621fc78d0e040dc2c12f38dc53dd9048215dc;p=xonotic%2Fnetradiant.git diff --git a/radiant/feedback.h b/radiant/feedback.h index 04e98bb2..567f00af 100644 --- a/radiant/feedback.h +++ b/radiant/feedback.h @@ -149,7 +149,7 @@ class CDbgDlg : public Dialog { GPtrArray *m_pFeedbackElements; // the list widget we use in the dialog -GtkListStore* m_clist; +ui::ListStore m_clist{nullptr}; ISAXHandler *m_pHighlight; IGL2DWindow* m_pDraw2D; public: @@ -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;