]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/mru.cpp
Group import/export callbacks
[xonotic/netradiant.git] / radiant / mru.cpp
index 4f0df1a283ae63b9231eafdf47b947e6c1ce5cc7..aef04cbc033abc058386914643ecec571868f458 100644 (file)
@@ -130,7 +130,7 @@ void MRU_Init(){
        }
 }
 
-void MRU_AddWidget( GtkMenuItem *widget, std::size_t pos ){
+void MRU_AddWidget( ui::MenuItem widget, std::size_t pos ){
        if ( pos < MRU_MAX ) {
                MRU_items[pos] = widget;
                if ( pos < MRU_used ) {
@@ -185,7 +185,7 @@ void load(){
 }
 };
 
-typedef MemberCaller<LoadMRU, &LoadMRU::load> LoadMRUCaller;
+typedef MemberCaller<LoadMRU, void(), &LoadMRU::load> LoadMRUCaller;
 
 LoadMRU g_load_mru1( 1 );
 LoadMRU g_load_mru2( 2 );