]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/feedback.h
redo a windows fix from 20dbf5c that was mistakenly lost
[xonotic/netradiant.git] / radiant / feedback.h
index 78f4fd045f0ad85546dd7066447dc8efb552d9eb..b683a316d76ea07abe1cc48b43c238b36614b68e 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "math/vector.h"
 #include "stream/stringstream.h"
-#include <glib.h>
 #include "xmlstuff.h"
 #include "dialog.h"
 #include "xywindow.h"
@@ -40,6 +39,7 @@
 class IGL2DWindow
 {
 public:
+virtual ~IGL2DWindow() = default;
 // Increment the number of references to this object
 virtual void IncRef() = 0;
 // Decrement the reference count
@@ -143,13 +143,12 @@ void DecRef() {
 void Draw2D( VIEWTYPE vt );
 };
 
-typedef struct _GtkListStore GtkListStore;
 
 class CDbgDlg : public Dialog
 {
 GPtrArray *m_pFeedbackElements;
 // the list widget we use in the dialog
-GtkListStore* m_clist;
+ui::ListStore m_clist{ui::null};
 ISAXHandler *m_pHighlight;
 IGL2DWindow* m_pDraw2D;
 public: