X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=radiant%2Fentity.cpp;h=fbb268fb0f06689ceabd18833ca4cae8f7b6f273;hp=cf726aca2243293b42d489e9c261b0e5ef92eca6;hb=69b4f74e6c95e22d6c6ce10d0e137c875fd83cc4;hpb=c001d05fb1dc902a725dbf50df82e88a1a526a21 diff --git a/radiant/entity.cpp b/radiant/entity.cpp index cf726aca..fbb268fb 100644 --- a/radiant/entity.cpp +++ b/radiant/entity.cpp @@ -289,7 +289,7 @@ int g_iLastLightIntensity; void Entity_createFromSelection( const char* name, const Vector3& origin ){ #if 0 if ( string_equal_nocase( name, "worldspawn" ) ) { - ui::alert( GTK_WIDGET( MainFrame_getWindow() ), "Can't create an entity with worldspawn.", "info" ); + ui::alert( MainFrame_getWindow( ), "Can't create an entity with worldspawn.", "info" ); return; } #endif @@ -392,7 +392,7 @@ void Entity_createFromSelection( const char* name, const Vector3& origin ){ #if 0 bool DoNormalisedColor( Vector3& color ){ - if ( !color_dialog( GTK_WIDGET( MainFrame_getWindow() ), color ) ) { + if ( !color_dialog( MainFrame_getWindow( ), color ) ) { return false; } /*