Comment on attachment 517395
Use GIO for finding the default handler
(In reply to comment #2)
> Launching will fail straight
> afterwards even if we do find the handler, as the launch is already done via
> GIO (with no fallback) and depends on gvfs being present (glib < 2.28)
OK. There's nothing to lose then.
>+ if (NS_FAILED(giovfs->GetAppForURIScheme(nsDependentCString(aProtocolScheme),
>+ getter_AddRefs(app))))
Can you align the "getter_AddRefs(app))" argument with the first argument of the function call, please?
Comment on attachment 517395
Use GIO for finding the default handler
(In reply to comment #2)
> Launching will fail straight
> afterwards even if we do find the handler, as the launch is already done via
> GIO (with no fallback) and depends on gvfs being present (glib < 2.28)
OK. There's nothing to lose then.
>+ if (NS_FAILED( giovfs- >GetAppForURISc heme(nsDependen tCString( aProtocolScheme ), AddRefs( app))))
>+ getter_
Can you align the "getter_ AddRefs( app))" argument with the first argument of the function call, please?