]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/feedback.h
Purge GTK forward declarations
[xonotic/netradiant.git] / radiant / feedback.h
index 94e2c7e8586c8fb20851dce882c7fca3d5c3ab4e..42fdbbb3a855720a13bbaa85051c5ab02cde3cb4 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "math/vector.h"
 #include "stream/stringstream.h"
-#include <glib/gstring.h>
+#include <glib.h>
 #include "xmlstuff.h"
 #include "dialog.h"
 #include "xywindow.h"
@@ -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{nullptr};
 ISAXHandler *m_pHighlight;
 IGL2DWindow* m_pDraw2D;
 public:
@@ -171,13 +170,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;