#include "iselection.h"
-#include <gtk/gtk.h>
#include <uilib/uilib.h>
#include "string/string.h"
void EntityList_SetShown( bool shown ){
- widget_set_visible( GTK_WIDGET( getEntityList().m_window ), shown );
+ widget_set_visible( getEntityList().m_window, shown );
}
void EntityList_toggleShown(){
ui::Window window = ui::Window(create_persistent_floating_window( "Entity List", main_window ));
- gtk_window_add_accel_group( window, global_accel );
+ window.add_accel_group(global_accel);
getEntityList().m_positionTracker.connect( window );