#include "debugging/debugging.h"
-#include <gtk/gtk.h>
-
#include "generic/callback.h"
#include "math/vector.h"
#include "string/string.h"
}
ui::Window CGameDialog::BuildDialog(){
- GtkFrame* frame = create_dialog_frame( "Game settings", GTK_SHADOW_ETCHED_IN );
+ auto frame = create_dialog_frame( "Game settings", GTK_SHADOW_ETCHED_IN );
- GtkVBox* vbox2 = create_dialog_vbox( 0, 4 );
+ auto vbox2 = create_dialog_vbox( 0, 4 );
gtk_container_add( GTK_CONTAINER( frame ), GTK_WIDGET( vbox2 ) );
{
CreateGlobalFrame( preferencesPage );
}
- return ui::Window(create_simple_modal_dialog_window( "Global Preferences", m_modal, GTK_WIDGET( frame ) ));
+ return create_simple_modal_dialog_window( "Global Preferences", m_modal, frame );
}
class LoadGameFile