// NewGetDefaultLaunchAppJob creates a new GetLaunchAppJob for dbus.
func NewGetDefaultLaunchAppJob(uri string, mustSupportURI bool) *GetDefaultLaunchAppJob {
	job := &GetDefaultLaunchAppJob{
		dbusInfo: genDBusInfo("GetDefaultLaunchAppJob", &_GetDefaultLaunchAppJobCount),
		op:       operations.NewGetDefaultLaunchAppJob(uri, mustSupportURI),
	}
	return job
}
func getDefaultOpenApp(uri string) (*gio.AppInfo, error) {
	job := operations.NewGetDefaultLaunchAppJob(uri, false)
	job.Execute()
	if job.HasError() {
		return nil, job.GetError()
	}

	return job.Result().(*gio.AppInfo), nil
}