]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gnome/gvfs.cpp
don't crash if m_widget == NULL in OnInternalIdle()
[wxWidgets.git] / src / gtk / gnome / gvfs.cpp
index aa25c84098d24a73cb630bc833873ce98309cb88..84b3af17d281b601fe380cec75297701c4308654 100644 (file)
@@ -162,7 +162,7 @@ bool wxGnomeVFSModule::OnInit()
     if (gs_lgvfs->IsOk())
     {
         if (gs_lgvfs->gnome_vfs_init())
-            wxMimeTypesManagerFactory::SetFactory( new wxGnomeVFSMimeTypesManagerFactory );
+            wxMimeTypesManagerFactory::Set( new wxGnomeVFSMimeTypesManagerFactory );
     }
     return true;
 }