]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/entitylist.cpp
minor refactoring
[xonotic/netradiant.git] / radiant / entitylist.cpp
index af4df37a9867c1297c8cbbf2b4191f336d3a7307..e6944a6d1d13a0193867b3514c5508620236b733 100644 (file)
@@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include "string/string.h"
 #include "scenelib.h"
 #include "nameable.h"
-#include "generic/callback.h"
+#include "signal/isignal.h"
 #include "generic/object.h"
 
 #include "gtkutil/widget.h"
@@ -419,7 +419,8 @@ void EntityList_Construct()
 
   GlobalPreferenceSystem().registerPreference("EntityInfoDlg", WindowPositionTrackerImportStringCaller(getEntityList().m_positionTracker), WindowPositionTrackerExportStringCaller(getEntityList().m_positionTracker));
 
-  GlobalSelectionSystem().addSelectionChangeCallback(FreeCaller1<const Selectable&, EntityList_SelectionChanged>());
+  typedef FreeCaller1<const Selectable&, EntityList_SelectionChanged> EntityListSelectionChangedCaller;
+  GlobalSelectionSystem().addSelectionChangeCallback(EntityListSelectionChangedCaller());
 }
 void EntityList_Destroy()
 {